为了实现实时将隔行扫描信号转换为逐行扫描信号的目标,采用的是运动自适应去隔行方法,并配以多线程并行计算。运动自适应相对单场插值利用了图像在时间上的关联性,在运动区域、静止区域都能有更优的效果;相对于运动补偿,具有时间复杂度上的优越性,为实时处理做铺垫。运动自适应方法,采用了更好的运动检测方法,并通过运动修正更准确地划分动静区域,场内采用一种最大相关性的保持边缘方法进行插值,更好的保护图像的细节信息,此方法时间复杂度低,且在信噪比上优于其他常见运动自适应方法。基于多核服务器,进行多线程并行编程,充分利用了多核体系,计算效率大幅度提高。实验结果表明,方法处理后的图像效果相比其他方法更佳,实现了实时处理D1标准视频序列。
In the television broadcasting system ,considering for the limit of transmission bandwidth ,television signals will continue to use interlaced format for a long time .Digital television only perfectly display progressive scanning video ,and the original display of interlaced video on these digital display screen ,could cause line crawl ,parallel phe‐nomenon ,serration and line flicker and so on .Thus ,de‐interlacing is a necessary step before the TV image is passed to the display system .A novel real‐time de‐interlacing algorithm is proposed in this paper .Real‐time de‐interlacing algorithm is based on motion adaptive de‐interlacing and multi‐thread parallel computing .De‐interlacing algorithm contains intra‐filed de‐interlacing ,inter‐field de‐interlacing ,and blending de‐interlacing .Blending de‐interlacing contains motion adaptive de‐interlacing and motion‐compensated method .The motion adaptive de‐interlacing obtains the advantages of both inter‐field de‐interlacing and intra‐field de‐interlacing .Compared with motion‐compensated method ,the motion adaptive de‐interlacing costs resource more little and processes quicker .It detects the motion areas first ,and in this paper ,a better detecting method is used .Then adopts intra‐field de‐interlacing in motion areas ,and in this paper ,it takes a max correlation method to preserve image edges .Inter‐field de‐interlacing adopt in static areas ,this paper uses two‐filed average method .To achieve the goal of real‐time de‐interlacing ,multi‐thread parallel computing is applied to de‐interlacing .Nowadays ,as the multi‐core processors becoming more and more popular ,the development of parallel software technology is proved to be a crux .Widows multi‐threaded API ,POSIX threads API、openMP and languages that support multi‐thread programming ,these are typical methods .This paper using the C and multi‐threaded API ,makes computing efficient ,makes it possible for real‐time de‐inte