• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

lightfield-analysis/matlab-tools: Collection of support scripts to read/write/pr ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

lightfield-analysis/matlab-tools

开源软件地址(OpenSource Url):

https://github.com/lightfield-analysis/matlab-tools

开源编程语言(OpenSource Language):

MATLAB 100.0%

开源软件介绍(OpenSource Introduction):

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

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

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

[X,Y,Z] = getPointcloud(LF)

or

[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} }




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap