Current Issue Cover
单幅自然场景深度恢复

曹风云1, 方帅2, 胡玉娟1, 王浩2, 杨雪洁1(1.合肥师范学院公共计算机教学部, 合肥 230601;2.合肥工业大学计算机与信息学院, 合肥 230009)

摘 要
目的 离焦测距算法是一种用于恢复场景深度信息的常用算法。传统的离焦测距算法通常需要采集多幅离焦图像,实际应用中具有很大的制约性。方法 基于局部模糊估计提出单幅离焦图像深度恢复算法。基于局部模糊一致性的假设,采用简单而有效的两步法恢复输入图像的深度信息:1)通过求取输入离焦图和利用已知高斯核再次模糊图之间的梯度比得到边缘处稀疏模糊图;2)将边缘位置模糊值扩离至全部图像,完整的相对深度信息即可恢复。结果 为了获得准确的场景深度信息,加入几何条件约束、天空区域提取策略来消除颜色、纹理以及焦点平面歧义性带来的影响,本文对各种类型的图像进行对比实验,结果表明该算法能在恢复深度信息的同时有效抑制图像中的歧义性。结论 提出了一种新的基于局部模糊一致性的假设的单幅离焦测距算法。实验结果表明,在对自然场景下各类图像下有很好的适应性和有效性。
关键词
Recovering depth from a single natural defocused image

Cao Fengyun1, Fang Shuai2, Hu Yujuan1, Wang Hao2, Yang Xuejie1(1.Department of Public Computer Teaching, Hefei Normal University, Hefei 230601, China;2.College of Computer and Information, Hefei University of Technology, Hefei 230009, China)

Abstract
Objective Depth from defocus is a common method for recovering scene depth information. In traditional methods we usually need to collect multiple defocused images. However, this is difficult in practical application. Method In this paper, we address a challenging problem of recovering the depth from a single photograph taken with an uncalibrated conventional camera. In order to achieve this, we present a simple yet effective two-step approach to estimate the blur map of the input image. 1)A sparse blur map is obtained by estimating the amount of defocus blur at the edge locations. 2)Based on image segmentation and the sparse blur map to get the global blur map, complete depth information can be restorated. Result In order to obtain accurate scene depth information, we join geometry constraints, the sky area extraction and segmentation strategy to eliminate the impact of color, texture and focal plane ambiguity. Conclusion Experimental results on a variety of images show that our method can acquire a reliable estimation of the depth of a scene.
Keywords

订阅号|日报