运动目标检测是计算机视觉中进行信息提取的关键技术之一。为了克服传统帧间差分法检测出的目标不完整的缺点,提出了一种基于时空信息的视频图像中多目标检测新算法。该算法将帧间差分得到的图像序列的时间信息和帧间边缘差分得到的图像空间信息结合起来检测图像中的运动目标,同时利用形态学闭运算和近区域合并方法进一步强化图像中的空间信息,利用小区域去除的方法去除图像中的噪声影响。最后通过3组实验对其有效性进行了验证,实验结果证明,其检测效果与传统算法相比有较大改善。
Moving target detection is one of the key technologies for information extraction in computer vision.In order to overcome the defect that conventional temporal difference method can not detect complete target,a novel algorithm for multi-target detection in video images based on spatial-temporal information is proposed.The algorithm combines the temporal information obtained using temporal difference with the spatial information obtained using frame edge difference to detect moving objects in images.What's more,the spatial information in the image is strengthened using morphological close operation and close region merging,and the noise influence to the images is eliminated using small region removing method.At last,the effectiveness of the algorithm is verified with three groups of experiments.Experimental results prove that the detection effects of the proposed algorithm are greatly improved compared with conventional algorithms.