计算机应用 ›› 2016, Vol. 36 ›› Issue (10): 2837-2841.DOI: 10.11772/j.issn.1001-9081.2016.10.2837

• 虚拟现实与数字媒体 • 上一篇    下一篇

基于超像素和局部颜色恒常性的自适应阴影去除

兰丽, 何小海, 吴晓红, 滕奇志   

  1. 四川大学 电子信息学院, 成都 610065
  • 收稿日期:2016-05-05 修回日期:2016-06-06 发布日期:2016-10-10
  • 通讯作者: 何小海,E-mail:hxh@scu.edu.cn
  • 作者简介:兰丽(1990—),女,四川广安人,硕士研究生,主要研究方向:数字图像处理、模式识别;何小海(1964—),男,四川绵阳人,教授,博士,主要研究方向:图像处理、视频通信;吴晓红(1970—),女,四川射洪人,副教授,博士,主要研究方向:图像处理、模式识别;滕奇志(1962—),女,四川成都人,教授,博士,主要研究方向:图像处理、三维重建。
  • 基金资助:
    国家自然科学基金委员会和中国工程物理研究院联合基金资助项目(11176018);特殊环境机器人技术四川省重点实验室开放基金资助项目(14zxtk03);成都市科技惠民项目(2015-HM01-00293-SF)。

Adaptive shadow removal based on superpixel and local color constancy

LAN Li, HE Xiaohai, WU Xiaohong, TENG Qizhi   

  1. College of Electronic Information Engineering, Sichuan University, Chengdu Sichuan 610065, China
  • Received:2016-05-05 Revised:2016-06-06 Published:2016-10-10
  • Supported by:
    BackgroundThis work is partially supported by the Joint Fund of the National Natural Science Foundation of China and the China Academy of Engineering Physics (11176018), the Open Fund of Robot Technology used for Special Environment Key Laboratory of Sichuan Province (14zxtk03), the Technology Program of Public Wellbeing of Chengdu (2015-HM01-00293-SF).

摘要: 为快速有效地去除监控视频中运动目标的投射阴影,提出了一种基于超像素和阴影区域的局部颜色恒常性的自适应阴影去除算法。首先采用改进的简单线性迭代聚类算法将视频图像中的运动前景分割为互不重叠的超像素;然后计算了RGB颜色空间中背景与运动前景的亮度比率,并分析了阴影区域的局部颜色恒常性;在此基础上,以超像素为基本处理单元,计算亮度比率的标准差,并利用阴影区域标准差的特征及其分布规律提出基于拐点的自适应阈值算法检测并去除阴影。实验结果表明,该算法可以适用于多种真实场景下的阴影检测,且阴影检测率与目标识别率均超过85%;基于超像素处理可以大幅度降低算法的计算复杂度,该算法每帧平均处理时间为20 ms。该算法可以同时满足阴影去除对准确度、实时性和鲁棒性的要求。

关键词: 超像素分割, 运动目标检测, 阴影去除, 局部颜色恒常性, 标准差, 自适应阈值

Abstract: In order to remove the moving cast shadow in the surveillance video quickly and efficiently, an adaptive shadow elimination method based on superpixel and local color constancy of shaded area was proposed. First, the improved simple linear iterative clustering algorithm was used to divide the moving area in the video image into non-overlapping superpixels. Then, the luminance ratio of background and the moving foreground in the RGB color space was calculated, and the local color constancy of shaded area was analyzed. Finally, the standard deviation of the luminance ratio was computed by taking superpixel as basic processing unit, and an adaptive threshold algorithm based on turning point according to the characteristic and distribution of the standard deviation of the shadowed region was proposed to detect and remove the shadow. Experimental results show that the proposed method can process shadows in different scenarios, the shadow detection rate and discrimination rate are both more than 85%; meanwhile, the computational cost is greatly reduced by using the superpixel, and the average processing time per frame is 20 ms. The proposed algorithm can satisfy the shadow removal requirements of higher precision, real-time and robustness.

Key words: superpixel division, moving target detection, shadow removal, local color constancy, standard deviation, adaptive threshold

中图分类号: