计算机应用 ›› 2019, Vol. 39 ›› Issue (2): 556-563.DOI: 10.11772/j.issn.1001-9081.2018061227

• 虚拟现实与多媒体计算 • 上一篇    下一篇

区域配对引导的光照传播视频阴影去除方法

廖斌, 吴文   

  1. 湖北大学 计算机与信息工程学院, 武汉 430062
  • 收稿日期:2018-06-13 修回日期:2018-09-09 出版日期:2019-02-10 发布日期:2019-02-15
  • 通讯作者: 廖斌
  • 作者简介:廖斌(1979-),男,湖北武汉人,教授,博士,主要研究方向:图像视频处理;吴文(1994-),男,湖北武汉人,硕士研究生,主要研究方向:图像视频处理。
  • 基金资助:
    国家自然科学基金资助项目(61300125)。

Video shadow removal method using region matching guided by illumination transfer

LIAO Bin, WU Wen   

  1. School of Computer Science and Information Engineering, Hubei University, Wuhan Hubei 430062, China
  • Received:2018-06-13 Revised:2018-09-09 Online:2019-02-10 Published:2019-02-15
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61300125).

摘要: 传统方法在处理自由移动相机捕获视频中的阴影时,存在时空不连贯现象。为解决该问题,提出一种区域配对引导的光照传播阴影去除方法。首先,使用基于尺度不变特征变换(SIFT)特征向量的均值漂移方法分割视频,通过支持向量机(SVM)分类器检测出其中的阴影;然后,将输入视频帧分解成重叠的二维图像区域块,建立其马尔可夫随机场(MRF),通过光流引导的区域块匹配机制,为每一个阴影块找到最佳匹配的非阴影块;最后,使用局部光照传播算子恢复阴影区域块的光照,并对其进行全局光照优化。实验结果表明,与传统基于光照传播方法相比,所提方法在阴影检测综合评价指标上提升约6.23%,像素均方根误差(RMSE)减小约30.12%,且大幅度缩短了阴影处理时间,得到的无阴影视频结果更具时空连贯性。

关键词: 视频阴影, 区域配对, 光照传播, 阴影去除, 光流

Abstract: In order to solve spatio-temporally incoherent problem of traditional shadow removal methods for videos captured by free moving cameras, a shadow detection and removal approach using region matching guided by illumination transfer was proposed. Firstly, the input video was segmented by using Mean Shift method based on Scale Invariant Feature Transform (SIFT), and the video shadow was detected by Support Vector Machine (SVM) classifier. Secondly, the input video was decomposed into overlapped 2D patches, and a Markov Random Field (MRF) for this video was set up, and the corresponding lit patch for every shadow patch was found via region matching guided by optical flow. Finally, in order to get spatio-temporally coherent results, each shadow patch was processed with its matched lit patch by local illumination transfer operation and global shadow removal. The experimental results show that the proposed algorithm obtains higher accuracy and lower error than the traditional methods based on illumination transfer, the comprehensive evaluation metric is improved by about 6.23%, and the Root Mean Square Error (RMSE) is reduced by about 30.12%. It can obtain better shadow removal results with more spatio-temporal coherence but much less time.

Key words: video shadow, region matching, illumination transfer, shadow removal, optical flow

中图分类号: