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.
Inspired by: Light Field Toolbox v0.4
Create scripts with code, output, and formatted text in a single executable document.