Depth recovery and refinement from a single image using defocus cues
Abstract
We present a technique to recover and refine the depth map from a single image captured by a conventional camera in this paper. Our method builds on the universal imaging principle: only scene at the focus distance will converge to a single sharp point on imaging sensor but other scene will yield different blur effects varying with its distance from the camera lens. We first estimate depth values at edge locations via spectrum contrast and then recover the full depth map using a depth matting optimization method. Due to the fact that some blur textures such as soft shadows or blur patterns will produce ambiguity results during the procedure of depth estimation, we use a total variation-based image smoothing method to smooth the original image, a smoothed image with detailed texture being suppressed can be generated. Taking this smoothed image as reference image, a guided filter is used to refine the final depth map.
- Publication:
-
Journal of Modern Optics
- Pub Date:
- March 2015
- DOI:
- 10.1080/09500340.2014.967321
- Bibcode:
- 2015JMOp...62..441T
- Keywords:
-
- depth recovery;
- optical imaging;
- defocus blur;
- total variation;
- guided image filter;
- depth matting