6. Conclusions

In this chapter, a single-image depth estimation method was presented. The depth map was derived based on the characteristic curve of COC vs. depth of a camera. Applications to manipulate depth maps can be achieved by first deblurring an image to all in focus and then blurring the all-in-focus image. Thus, generation of an all-in-focus image from a depth map successfully is significant for the depth estimation method. Furthermore, the quality for 2D to 3D conversion also depends on the performance of depth estimation. The proposed depth estimation method makes it possible to produce high-quality all-in-focus images and 2D to 3D conversion, even from originals with a complex depth map layout.

### Author details

Shih-Shuo Tung and Wen-Liang Hwang\* Institute of Information Science, Academia Sinica, Taipei, Taiwan

\*Address all correspondence to: whwang@iis.sinica.edu.tw

© 2019 The Author(s). Licensee IntechOpen. This chapteris distributed underthe terms oftheCreative Commons Attribution License (http://creativecommons.org/licenses/ by/3.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
