# Usage
We assume that the convert*.m files as well as the lib/ directory are placed
on the same level as the data.
i.e. the folder containing convert*.m and lib/ also contains the folders
additional/, stratified/, test/, and training/.
You can run
```matlab
convertAll.m
```
to generate a LF.mat file for each of the scenes.
If you have only downloaded a subset of the dataset you can generate the
LF.mat files using
```matlab
convertBlenderTo5D('FOLDER')
```
The LF.mat includes the light field data (LF.LF), the ground truth
(LF.depth/disp_high/lowres), a mask as well as the centerview.
All parameters used for generation are loaded from the parameters.cfg and
stored in LF.parameters.
If you are familiar with the H matrix from Donald Dansereaus "Decoding,
Calibration and Rectification for Lenselet-Based Plenoptic Cameras"
(http://www-personal.acfr.usyd.edu.au/ddan1654/PlenCal.pdf) the provide
the H matrix in LF.H. The distance between the two planes is stored in LF.f,
given in [mm].
Please note that this is not the focal length of the respective cameras,
which is stored in LF.parameters.intrinsics.focal_length_mm.
# Generating point clouds
To generate point clouds you can either run
```matlab
[X,Y,Z] = getPointcloud(LF)
```
or
```matlab
[X,Y,Z] = getPointcloud(LF,'disp',d)
```
Here, LF is the variable as generated by the conversion scripts, i.e. it
includes variables like LF, parameters and disp_lowres.
If you do not specify a disparity map d, it will visualize the ground truth.
# License
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/.
Authors: Katrin Honauer & Ole Johannsen
Website: www.lightfield-analysis.net
The 4D Light Field Benchmark was jointly created by the University of Konstanz and the HCI at Heidelberg University. If you use any part of the benchmark, please cite our paper "A dataset and evaluation methodology for depth estimation on 4D light fields". Thanks!
@inproceedings{honauer2016benchmark,
title={A dataset and evaluation methodology for depth estimation on
4D light fields},
author={Honauer, Katrin and Johannsen, Ole and Kondermann, Daniel
and Goldluecke, Bastian},
booktitle={Asian Conference on Computer Vision},
year={2016},
organization={Springer}
}
没有合适的资源?快使用搜索试试~ 我知道了~
Collection of support scripts to readwriteprocess light field
共7个文件
m:6个
md:1个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 67 浏览量
2023-07-21
20:05:41
上传
评论
收藏 15KB ZIP 举报
温馨提示
Collection of support scripts to readwriteprocess light field data.zip
资源推荐
资源详情
资源评论
收起资源包目录
Collection of support scripts to readwriteprocess light field data.zip (7个子文件)
matlab-tools-master
lib
pfmwrite.m 737B
IniConfig.m 58KB
pfmread.m 410B
convertBlenderTo5D.m 7KB
getPointcloud.m 3KB
README.md 2KB
convertAll.m 3KB
新建文件夹
共 7 条
- 1
资源评论
AbelZ_01
- 粉丝: 904
- 资源: 5441
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功