File Exchange

image thumbnail

Light Field Toolbox v0.4

version 1.1 (976 KB) by Donald Dansereau
A set of tools for working with light field (aka plenoptic) imagery in Matlab

60 Downloads

Updated 12 Feb 2015

View License

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.

Comments and Ratings (15)

Zhijie Ma

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.

Tom Campbell

Antonin Sulc

TJ Li

TJ Li (view profile)

Timin Li

David Hart

@Maryam Jaberi, see LFDemo*, and the examples in LFToolbox.pdf.

Luoluo Wang

Hello,
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?

Updates

1.1

Added thumbnail

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

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor

LFToolbox0.4/

LFToolbox0.4/SupportFunctions/

LFToolbox0.4/SupportFunctions/CameraCal/