Source code for decoding lightfield images, metric calibration of the focus of a standard plenoptic camera and depth estimation . For additional sample images with depth ground-truth captured with a TOF sensor, visit https://sites.google.com/view/cvia/plenoptic-imaging. The decoding of light-field images is based on .
 S. Pertuz, E. Pulido-Herrera, J. Kamarainen, Focus Model for Metric Depth Estimation in Standard Plenoptic Cameras, ISPR Journal of Photogrammetry and Remote Sensing (in print).
 D. G. Dansereau, O. Pizarro, and S. B. Williams, Decoding, calibration and rectification for lenselet-based plenoptic cameras, in CVPR 2013.
Said Pertuz (2020). Lightfield focus calibration for metric depth estimation (https://www.mathworks.com/matlabcentral/fileexchange/67876-lightfield-focus-calibration-for-metric-depth-estimation), MATLAB Central File Exchange. Retrieved .
Inspired by: Light Field Toolbox v0.4