File Exchange

image thumbnail

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

version 1.5 (1.89 MB) by

A set of tools for working with light field (aka plenoptic) imagery in Matlab

31 Downloads

Updated

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.

Comments and Ratings (5)

W A

W A (view profile)

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

Dennis (view profile)

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

Sami (view profile)

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 (view profile)

Sami

Sami (view profile)

Updates

1.5

v0.3 is now available http://www.mathworks.com/matlabcentral/fileexchange/48405-light-field-toolbox-v0-3

1.3

This is version 0.2 of the toolbox. It includes camera calibration, image rectification, and convenience functions for managing multiple light fields and multiple cameras.

1.2

Fixed capitalization typo in title and error in link to dataset. Apologies if this conflicts with my earlier attempt to fix the same link.

1.1

Fixed the link http://www-personal.acfr.usyd.edu.au/ddan1654/LFSamplePack1.zip, which had somehow got a space inserted

MATLAB Release
MATLAB 7.13 (R2011b)
Acknowledgements

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

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

LFToolbox0.2/

LFToolbox0.2/SupportFunctions/CameraCal/

LFToolbox0.2/SupportFunctions/CornerFinder/

LFToolbox0.2/SupportFunctions/