Downloads
Source Code
Plenoptic focus calibration
Focus calibration of plenoptic camera for depth estimation. Source code for decoding lightfield images, metric calibration of the focus of a standard plenoptic camera and depth estimation [3]. The toolbox includes sample images with depth ground-truth captured with a TOF sensor. [project page]
Focus measure
Focus measure operators for autofocus and shape from focus. Implemented operators are based on different principles, such as image gradients, frequency-space analysis, and image statistics, among others. This is the implementation used in [1] .[matlab source code]
Defocus simulation
Source code for generating synthetic image sequences with different focus settings of a digital camera. This is the implementation used in [1,2] [matlab source code]
Extended depth-of-field
Source code for the generation of all-in-focus images through image fusion (focus stacking or extended depth-of-field). This is the implementation of [2]. [matlab source code]
Shape-from-focus
Efficient Matlab implementation of the shape-from-focus routine for depth estimation. This is the implementation of [1]. [matlab source code]
Defocus Sequences
References
[1] S. Pertuz, D. Puig, M. A. Garcia, Analysis of focus measure operators in shape-from-focus, Pattern Recognition, 46(5), pp. 1415-1432, 2011. DOI:10.1016/j.patcog.2012.11.011 [pdf]
[2] S. Pertuz, D. Puig, M. A. Garcia, A. Fusiello, Generation of all-in-focus images through noise-robust selective fusion of limited depth-of-field images, IEEE Transactions on Image Processing, 22(3), pp. 1242-1251, 2013. DOI:10.1109/TIP.2012.2231087 [pdf]
[3] S. Pertuz, E. Pulido-Herrera, J. Kamarainen, Focus Model for Metric Depth Estimation in Standard Plenoptic Cameras, ISPRS ISPRS Journal of Photogrammetry and Remote Sensing 144:38-47, 2018. DOI:10.1016/j.isprsjprs.2018.06.020