基于颜色恒常性的图像背景虚化算法  被引量:4

Image Background Blurring Algorithm Based on Color Constancy

在线阅读下载全文

作  者:李晓颖 杨恒杰 闫铮[1] 连方 巫梅琴 Li Xiaoying;Yang Hengjie;Yan Zheng;Lian Fang;Wu Meiqin(College of Information Science and Engineering,Huaqiao University,Xiamen,Fujian 361021,China)

机构地区:[1]华侨大学信息科学与工程学院,福建厦门361021

出  处:《激光与光电子学进展》2020年第8期22-28,共7页Laser & Optoelectronics Progress

基  金:福建省自然科学基金(2017J01116);华侨大学中青年培育计划(Z16J0070)。

摘  要:提出了一种基于颜色恒常性的图像背景虚化算法。首先,利用颜色恒常性检测图像中的光照情况,构建朗伯表面模型。然后,计算最大遮蔽物像素差值与最大局部像素差值,并利用软抠图算法获取图像深度图,对其进行灰度值分割,得到图片的前景与背景部分。最后,利用高斯滤波对图像的背景进行虚化处理。本方法能准确获取单目图像的前景与背景图像,且虚化效果明显。This study proposed an image background blurring algorithm based on color constancy.First,color constancy was used to detect the illumination of the image using which the Lambertian surface model was constructed.Next,the maximum mask pixel difference was compared with the maximum local pixel difference,and the image depth map was obtained using the soft matting algorithm.Furthermore,the image was divided by the gray value to obtain the foreground and background portions.Finally,the image background was blurred using the Gaussian filter.Using the proposed method,the foreground and background of the monocular image can be accurately obtained and the blurring effect is obvious.

关 键 词:图像虚化 深度图 颜色恒常性 软抠图算法 高斯滤波 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象