Figure 10
From: 3D surface morphology imaging of opaque microstructures via light-field microscopy

Flow-chart of integrating 4D LF Fourier slice31, and combining defocus and correspondence of MRF-depth estimation26 algorithm to calculate 3D morphology image from 2D LF-image. LF-image snapshot on image sensor is 2048 × 2048 pixels; around 19 × 19 directions is used in this analysis; Final depth image is 95 × 95 pixels. (FFT_LF: fast Fourier transfer of LF image array, Refocus_Image: digitally refocused image array, Dα: defocused image array, Cα: correspondence image array, αD*: αvalue that maximizes defocus measure, αc*: αvalue that minimizes correspondence measure, αD*2 & αC*2: next local optimal value or next largest peak of defocus and correspondence, Dconf & Cconf: confidence value which is proportional to the ratio of response estimate α* and α*2, Z0: initial array of defocus and correspondence array, W0: initial array of defocus and correspondence confidence array, Z*: depth estimation array, λsource: weighting between defocus and correspondence, λflat: Laplacian constraint for flatness of depth estimation, λsmooth: control of second derivative kernel, δ: difference between Z* and constraints, є2softness: softness of next iteration, T: annealing term, and E: error weight matrix)26.