单幅图像多尺度小波深度提取算法

第26卷第11期

2014年11月计算机辅助设计与图形学学报Journal of Computer ‐Aided Design &Computer Graphics Vol .26No .11Nov .2014 收稿日期:2013-09-02;修回日期:2014-02-17.基金项目:国家自然科学基金(61170155);上海市国际科技合作基金(09510700900);上海市科委(12510708400,11511503400).陈一民(1961—),男,博士,教授,博士生导师,CCF 高级会员,主要研究方向为增强现实、虚拟现实和机器人控制技术;姚 杰(1989—),男,硕士研究生,主要研究方向为增强现实、虚拟现实和计算机图形与图像处理.单幅图像多尺度小波深度提取算法

陈一民,姚 杰

(上海大学计算机工程与科学学院 上海 200072)

(j ames 890220@y ahoo .com )

摘要:针对浅景深图像中平滑前景区域深度提取误差大的问题,基于像素点分类思想对深度值进行修正,提出一种基于多尺度小波线索的、可同时面向单幅浅景深图像和广角图像的深度图提取算法.首先使用小波分析法在多个尺度下提取图像深度信息;然后提出自适应分类法并根据尺度与深度变化规律对像素点做深度修正,得到深度图;最后结合区域生长与边缘分割算法对深度图进行区域优化.为了加快深度计算,还提出了快速zerocount 法以及多尺度加速法来满足标清视频实时处理要求.实验结果证明,采用文中算法获得的深度图相对深度正确,前景和背景区域深度一致性好.

关键词:小波分析;多尺度;深度图;像素分类;区域生长

中图法分类号:T P 391.4

Depth Extraction Algorithm for Single Image Based on Multi ‐Scale Wavelet Chen Yimin and Yao Jie (School o f Com p uter En g ineering and Science Shan g hai Univ ersit y ,Shan g hai 200072)

Abstract :Aiming at solving the problem of reducing the depth extraction error of smooth foreground in defocus image ,this work propose an algorithm to generate the depth map with a single 2D image based on multi ‐scale wavelet ,w hich can do depth correction by pixel classification techniques and is suitable for both defocus and wide angle images .Firstly ,a wavelet analysis method is used to extract depth maps from a single image at multiple scales .Secondly ,an adaptive pixel classification method is p roposed to do depth correction pixel by pixel according to the variation between scale and depth .T hirdly ,the depth map is optimized regionally using region growing integrate with edge segmentation techniques .In order to accelerate the depth calculation ,a fast zerocount method and a multi ‐scale segment method are presented ,w hich can meet the requirements of real ‐time video processing .Experiments demonstrate that the depth maps generated by our algorithm are not only visually correct but also regionally consistent in both foreground and background .

Key words :wavelet analysis ;multi ‐scale ;depth map ;p ixel classification ;region grow

通过2D to 3D 技术将原有的2D 视频转换为可

以用于立体显示的3D 视频,是解决3D 影片片源稀

少的有效途径[1],该技术中的关键问题之一是如何从2D 图像中提取深度信息.2D 电影拍摄过程中大量存在2类图像:1)描绘全景有大幅背景的广角图像.Ma 等[2]提出一种基于消失点深度图特征分析的深度提取优化方法,但消失点位置的不确定性使得其应用受限.Jung 等[3]提出了基于相对高度线索估计深度信息的方法,但是相对高度线索将深度值按照图像底部近、图像顶部远的规律排列,使得输入图像受到限制.2)为了凸显主角而采用长聚焦拍

摄的浅景深图像.Zhuo 等[4]基于点扩散模型分析边

缘的模糊程度,并结合边缘分布概率分层估计相对

深度值.该方法对纹理和噪声有较强的鲁棒性,但由

于其主要依赖边缘信息,故不适用于前景纹理单一

或模糊的图像.Valencia 等[5]利用小波分析和基于

相关主题
相关文档
最新文档