This is a set of tools for working with light field (aka plenoptic) imagery in Matlab. Features include decoding, calibration, rectification, colour correction, basic filtering and visualization of light field images. New in version 0.4 are some linear depth/focus and denoising filters.
Download the sample light field pack at http://www-personal.acfr.usyd.edu.au/ddan1654/LFToolbox0.3_Samples1.zip. Sample calibration datasets can be found at http://marine.acfr.usyd.edu.au/plenoptic-imaging.
@Keigo Hirakawa LFFiltShiftSum does overwrite the LF variable as it goes. This sort of in-place filtering is not a problem so long as the overwritten variables aren't needed again, as in this example. To prove whether there's an issue or not try comparing the result of the code before & after use of a destination variable.
I believe there is a bug in LFFiltShiftSum. In line 105, LF is being overwritten, even though it is still being used in line 103 (within the same forloop). The workaround is to save LF as another variable, and use that new variable in line 103.
@Maryam Jaberi, see LFDemo*, and the examples in LFToolbox.pdf.
Is the any sample code about how the functions can be used in an example scenario like generating .jason files, LF coordinates or rendering new views?
@Corey Jaskoloski, I've addressed your question here: https://plus.google.com/113437644943133124613/posts/XbKh6zo8h2H
There's now a google community for the toolbox, feel free to post questions, projects, feature ideas, bugs and cool light field-related news: https://plus.google.com/communities/114934462920613225440
This is a great toolbox. Thanks for sharing it! I am looking to extract from Lytro Illum raws left/right 3D image pairs with variable baseline. I didn't see a function in the toolbox to specifically do that. Do you have any guidance on how I could implement with the existing toolbox function?