边缘算子在视频对象提取中的应用
Application of Edge Detector in Video Object Extraction
-
摘要: 提出了一种基于边缘检测算子的视频对象提取算法,用于在视频会议、新闻等视频序列的关键帧编码中提取视频对象的区域,为随后的运动估计和检测提供参考对象.首先分析了两种常用的边缘检测算子:Marr算子和Canny算子,并分别对视频关键帧进行边缘检测;然后从边缘图像中扫描出对象区域,生成掩码图像;最后与原始图像进行与操作得到对象.实验表明:采用Canny算子能够提高关键帧中视频对象提取的正确性,为整个视频序列中的对象提取提供了较优的参考帧.Abstract: An algorithm using edge detector to detect the region of video objects in key frames of a video sequence and to build reference objects for the subsequent motion-estimate and compensation is proposed. First, the edge detectors of both Marr-Hildreth and Canny are used to build an edge image from the original key frame. Then the edge image is scanned to form mask. Finally, the original image is “AND” operated with the mask image to extract the video object. The algorithm is useful for many applications, especially for video conference and news. The experiment results show the algorithm based on Canny edge detector is better than the Marr-Hildreth and presents better reference frame for the whole video sequence.
下载: