>> Here, we give a comparison of our optimized coded aperture pair with the optimized large/small circular aperture pair with respect to depth from defocus.

>> This comparison also serves as a demonstration of a Depth from Defocus Algorithm and the proposed Generalized Weiner deconvolution algorithm.

    All the code and data to reproduce these results is available to download.

 

******************************************************************

*Compare our Optimized Coded Aperture Pair with Circular Aperture Pair*

******************************************************************

 

Contents

Load Image and Depth map

Load Aperture Pair

 

The optimized coded aperture pair [Zhou et al. ICCV 2009]

The optimized circular aperture pair (radius ratio = 1.5)

Synthesize defocused image

The two defocused images using the optimized optimized aperture pair

The two defocused images using the optimized circular aperture pair

Depth Estimation

Estimated Depth Map Using the Optimized Coded Aperture Pair

Estimated Depth Map Using the Optimized Circular Aperture Pair

Defocus Deblurring

Ground Truth All-Focused Image (Left)

Recovered All-Focused Image using Optimized Coded Aperture Pair (Right)

Ground Truth All-Focused Image (Left)

Recovered All-Focused Image using Optimized Circular Aperture Pair (Right)