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:
 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.
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 .
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'?
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?
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
(SerialIdx ~= MostFreqSerialIdx)' ); %DEBUG SV transpose added
Inspired by: JSONLab: a toolbox to encode/decode JSON files
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!