APP下载

采用曲率扩散和边缘重建的深度图像空洞修复

2020-06-16牟琦夏蕾李占利李洪安

西安科技大学学报 2020年2期

牟琦 夏蕾 李占利 李洪安

摘 要:傳统的深度图像空洞修复算法,针对离散空洞和物体内部及背景中的空洞修复效果较好,但当物体边缘处存在较大面积空洞时,采用传统的修复方法,会出现物体边缘过填充或欠填充现象,造成边缘几何失真、边界模糊等问题。采用曲率扩散和边缘重建的深度图像空洞修复方法。首先获取深度图像空洞掩膜,确定空洞区域;然后使用曲率扩散模型填充空洞,并使用二值分割滤波获取边缘信息,得到待重建的像素;最后,通过马尔科夫随机场模型重建深度图像中的物体边缘纹理,去除模糊现象。曲率扩散模型将深度图像视为一个流体扩散方程,利用等照度线和曲率分布确定扩散强度,将局部结构从空洞的外部向内部扩散,能够准确的填充较大面积的空洞结构;马尔科夫随机场模型利用邻域系和连通系的能量函数表示结构信息,能够有效重建修复后的深度图像边缘纹理,从而去除物体边缘模糊。实验结果表明,相比传统的深度图像修复方法,采用文中方法修复后深度图像的平均梯度指标提高了10%-25%,可以有效地实现对深度图像中物体边缘处较大面积空洞的修复,得到结构完整、边缘纹理清晰的深度图像。

关键词:深度图像修复;空洞掩膜;曲率扩散模型;二值分割;马尔科夫随机场模型

中图分类号:TP 391.41

文献标志码:A

文章编号:1672-9315(2020)02-0369-08

DOI:10.13800/j.cnki.xakjdxxb.2020.0225开放科学(资源服务)标识码(OSID):

Depth image hole inpainting method using

curvature diffusion and edge reconstruction

MU Qi1,2,XIA Lei1,LI Zhan-li1,LI Hong-an1

(1.College of Computer Science and Engineering,Xian University of Science and Technology,Xian 710054,China;

2.College of Mechanical and Engineering,Xian University of Science and Technology,Xian 710054,China)Abstract:The traditional depth image hole inpainting methods fill discrete hole points,and the inner part of the object and the hole in the image background achieve better results.However,when there is a large area of the hole at the edge of the object in the image,the traditional inpainting methods may cause over-filling or under-filling of the edge of the object,causing geometric distortion of the edge and blurring of the boundary.To solve the above problems,this paperproposes a depth image hole inpainting method based on curvature diffusion and edge reconstruction,combining holes filling and texture restoration.Firstly,the depth image hole mask is obtained to determine the holes region.Then the holes are filled with the Curvature Driven Diffusion(CDD)model,and the edge blur pixels are removed by binary segmentation filtering to obtain the pixels to be reconstructed.Finally,the edge texture details of the object in the depth image are reconstructed by the Markov Random Field(MRF).The CDD model considers the depth image as a fluid diffusion equation,and uses the isolux line and curvature distribution to determine the diffusion intensity,and spreads the local structure from the outside to the inside of the holes,which can better fill the large-area hole structure;MRF model uses the energy functions of the neighborhood system and the communication system to introduce structural information,which can effectively reconstruct the edge information of the restored depth image,thus effectively avoiding object edge blur.The experimental results show that compared with the traditional depth image inpainting methods,the average gradient value of the depth imageis improved by 10%~25% processed by the proposed method,

which can effectively fill the large-area holes both in the interior and edge of the object in the depth image,and a depth image with complete structure and clear edge texture is obtained.

Key words:depth image inpainting;hole mask;curvature driven diffusion model;binary segmentation;Markov random field model

0 引 言

深度图像是一种表示传感器与场景物体之间距离的图像。……

登录APP查看全文