针对运动提取算法总是将运动阴影错误检测为运动前景,提出一种基于边缘信息的室内运动阴影去除算法.首先用Canny算子提取输入图像的边缘,同时对输入图像进行梯度分割;其次利用运动边缘的属性提取属于真实前景的运动边缘;再次得到靠近运动边缘的真实前景的部分边界;最后通过文中提出的边界跟踪技术构建出完整的前景边界,从而提高运动前景的检测精度.仿真实验表明,对不同的光源距离、不同的阴影投影方向及不同颜色前景引起的运动阴影,算法都能鲁棒地分离目标及其阴影区域.
Because the moving shadows usually were extracted along with objects by morton aetection algorithms, an edge-based approach to remove moving shadows for indoor sequences is proposed. Firstly, edges of input images are found using Canny operator and the input image is segmented according to gradient magnitude. Next, the moving edges of real moving object are obtained using moving edge properties, then the part boundaries of real foregrounds near the moving edges are found. Finally, the complete foreground objects are constructed by means of the proposed border tracing technique, thus the moving object detection exactitude is improved. Simulation results show that the proposed method can effectively separate the moving objects from their shadows caused by different distances of the lamp-house, diverse shadows directions and foreground colors.