File Exchange

image thumbnail

deprecated -- Light Field Toolbox v0.2 -- v0.3 now available

version 1.5.0.0 (1.89 MB) by Donald Dansereau
A set of tools for working with light field (aka plenoptic) imagery in Matlab

1 Download

Updated 27 Nov 2014

View Version History

View License

This has been superseded by v0.3, http://www.mathworks.com/matlabcentral/fileexchange/48405-light-field-toolbox-v0-3
This is a set of tools for working with light field (aka plenoptic) imagery in Matlab. This version of the toolbox is focused on processing images from the Lytro plenoptic camera. Features include decoding, colour correction and visualization of light field images. New in version 0.2 are camera calibration, image rectification, and convenience functions for managing multiple light fields and multiple cameras. Future releases will support additional input formats and depth and volumetric filtering for improved rendering quality.
Download the sample light field pack at http://www-personal.acfr.usyd.edu.au/ddan1654/LFSamplePack1-r2.zip. This revision of the sample pack introduces a folder structure facilitating the use of multiple cameras. A small sample calibration is also available at http://www-personal.acfr.usyd.edu.au/ddan1654/PlenCalSmallExample.zip, and further calibration datasets can be found at http://marine.acfr.usyd.edu.au/index.php/Plenoptic .

The image decoding, calibration and rectification process is described in:

[1] D. G. Dansereau, O. Pizarro, and S. B. Williams, "Decoding, calibration and rectification for lenselet-based plenoptic cameras," in Computer Vision and Pattern Recognition (CVPR), IEEE Conference on. IEEE, Jun 2013.

Cite As

Donald Dansereau (2020). deprecated -- Light Field Toolbox v0.2 -- v0.3 now available (https://www.mathworks.com/matlabcentral/fileexchange/41511-deprecated-light-field-toolbox-v0-2-v0-3-now-available), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

W A

Suppose I do not own the Computer Vision System Toolbox, containing 'detectCheckerboardPoints'. Is it safe to replace line 154 of 'LFCalFindCheckerCorners' with line 153 (using 'findcorners') from version 0.2 after coping the 'CornerFinder' folder into 'SupportFunctions'?

Dennis

Thank you for the great work!

Can you help me and others please by giving a sample how the functions, for example LFDispVidCirc is used? What is supposed to be entered if this command is wanted to be used for the file 'img00058.lfp' i stored in the MATLAB folder?

Dennis

Sami

3rd Time's a charm (seems that commenting is difficult): A very nice contribution. Rectifying Lytro data is now so much more easy :-)

With Matlab R2014a a very small fix was needed:

in file LFCalFindCheckerCorners.m
line 97:
(SerialIdx ~= MostFreqSerialIdx)' ); %DEBUG SV transpose added

Sami

Sami

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: JSONLab: a toolbox to encode/decode JSON files

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

LFToolbox0.2/

LFToolbox0.2/SupportFunctions/

LFToolbox0.2/SupportFunctions/CameraCal/

LFToolbox0.2/SupportFunctions/CornerFinder/