针对利用颜色或者纹理等单一特征无法有效检测运动阴影的问题,提出一种结合颜色与区域纹理信息进行阴影检测的算法。在融合策略上,根据视频图像不同区域的纹理复杂程度,选择使用颜色信息或者区域梯度方向直方图对运动阴影进行检测。通过分析,证明区域梯度方向的光照不变性,提出一种利用该特征进行基于纹理的阴影检测新方法,可有效克服传统算法以像素为最小检测单位容易受到噪声干扰的不足。实验结果表明:该算法在不同场景下表现出较好的阴影检测性能,同时具有计算复杂度低、实时性好的优点。
As single features such as color or texture can not be used to detect moving shadow effectively, a method of shadow detection based on color and regional texture was proposed. Through analyzing and proving the illumination invariance of regional gradient direction was proved, and a new texture-based method of shadow detection using this feature was proposed, by this way, the noise effect when using one pixel as the smallest detecting unit in traditional methods can be significantly reduced. Then, in the combination of color and regional texture, the color information or the regional gradient direction histogram was used respectively to detect moving shadow according to the complexity of texture in different image areas. The results show that the proposed algorithm is effective in detecting shadow under different scenes, meanwhile, it has characteristics of low computational complexity and excellent real-time ability.