[go: up one dir, main page]

CN102665061A - Motion vector processing-based frame rate up-conversion method and device - Google Patents

Motion vector processing-based frame rate up-conversion method and device Download PDF

Info

Publication number
CN102665061A
CN102665061A CN2012101289965A CN201210128996A CN102665061A CN 102665061 A CN102665061 A CN 102665061A CN 2012101289965 A CN2012101289965 A CN 2012101289965A CN 201210128996 A CN201210128996 A CN 201210128996A CN 102665061 A CN102665061 A CN 102665061A
Authority
CN
China
Prior art keywords
motion vector
frame
motion
processing
blocks
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012101289965A
Other languages
Chinese (zh)
Inventor
陈子琦
罗笑南
王若梅
孟思明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sun Yat Sen University
Original Assignee
Sun Yat Sen University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sun Yat Sen University filed Critical Sun Yat Sen University
Priority to CN2012101289965A priority Critical patent/CN102665061A/en
Publication of CN102665061A publication Critical patent/CN102665061A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明实施例公开了一种基于运动矢量处理的帧率上转换方法及其装置,其中,该方法包括:对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生;若检测到场景变换发生时,则采用内插方式对所述原始视频序列进行处理并获得处理后的数据;若未检测到场景变换发生时,则采用外推方式对所述原始视频序列进行处理并获得处理后的数据;采用对称运动估计对处理后的数据进行计算,获得初始运动矢量场;对所述初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场;对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。实施本发明实施例的方法及装置,可以降低计算复杂度与运动估计的复杂度,能提高内插帧的质量,满足实时应用的要求。

Figure 201210128996

The embodiment of the present invention discloses a frame rate up-conversion method and device based on motion vector processing, wherein the method includes: performing scene detection on the input original video sequence to detect whether there is currently a scene change; When the transformation occurs, the original video sequence is processed by interpolation and the processed data is obtained; if no scene change is detected, the original video sequence is processed by extrapolation and the processed data is obtained. the data after processing by using symmetric motion estimation to obtain an initial motion vector field; performing motion vector processing on the motion vectors of the initial motion vector field to obtain a new motion vector field; the motion of the new motion vector field The vector is subjected to adaptive motion compensation processing to obtain the frame to be interpolated. The method and device implementing the embodiments of the present invention can reduce the computational complexity and the complexity of motion estimation, improve the quality of interpolated frames, and meet the requirements of real-time applications.

Figure 201210128996

Description

一种基于运动矢量处理的帧率上转换方法及其装置A frame rate up-conversion method and device based on motion vector processing

技术领域 technical field

本发明涉及视频处理技术领域,尤其涉及一种基于运动矢量处理的帧率上转换方法及其装置。The invention relates to the technical field of video processing, in particular to a frame rate up-conversion method based on motion vector processing and a device thereof.

背景技术 Background technique

数字视频以及多媒体信息的大规模应用带来了显示格式的多样性。因此,这些格式之间的转换就显得非常重要。帧率上转换,也称帧率提升(frame rateup-conversion,FRUC),就是一种能将低帧率视频序列转化为高帧率视频序列的技术。帧率提升具有广阔的应用领域,如可以使视频内容的运动看起来更加连续和自然。帧率提升,主要是用来实现两个不同帧率视频扫描格式之间的转换。FRUC的一个应用场合是高清电视(High Definition Television,HDTV)。HDTV的分辨率最高可以达到1920*1080,帧率可以达到60帧/s。而目前我国和欧洲电视所使用的PAL(Phase Alternating Line)制帧率仅为25帧/s,北美等国使用的NTSC(national television system committee)制为30帧/s。因此,要将现有制式转换为HDTV,必须引入帧率上转换机制。此外,FRUC也可以应用于低比特率视频编码中。它的思想是在编码端适当降低原始视频的帧率,然后在解码端引入FRUC机制让帧率提升到原始帧率大小。The large-scale application of digital video and multimedia information has brought about the diversity of display formats. Therefore, the conversion between these formats is very important. Frame rate up-conversion, also known as frame rate up-conversion (FRUC), is a technology that can convert low frame rate video sequences into high frame rate video sequences. The frame rate increase has a wide range of applications, such as making the motion of video content look more continuous and natural. The frame rate increase is mainly used to realize the conversion between two different frame rate video scanning formats. One application of FRUC is High Definition Television (HDTV). The resolution of HDTV can reach up to 1920*1080, and the frame rate can reach 60 frames/s. At present, the PAL (Phase Alternating Line) system used by my country and European TV has a frame rate of only 25 frames/s, and the NTSC (national television system committee) system used in North America and other countries is 30 frames/s. Therefore, to convert existing formats to HDTV, frame rate up-conversion mechanisms must be introduced. In addition, FRUC can also be applied to low bit rate video coding. Its idea is to appropriately reduce the frame rate of the original video at the encoding end, and then introduce the FRUC mechanism at the decoding end to increase the frame rate to the original frame rate.

运动补偿内插法(MCFI)是FRUC中一种效果较好,应用比较广泛的算法。该算法利用相邻帧之间的相关性,假定中间帧的运动矢量是前后两帧运动矢量的一半,从而内插出中间帧来。Motion Compensated Interpolation (MCFI) is an algorithm with good effect and wide application in FRUC. This algorithm uses the correlation between adjacent frames, assumes that the motion vector of the middle frame is half of the motion vector of the two frames before and after, and then interpolates the middle frame.

但是,当视频序列剧烈运动或者存在场景切换时,相邻帧的相关性下降,这种内插的方法就会失效。同时,由于MCFI是一种基于块的算法,那么当某一分割块在物体边缘并且包含几个运动对象时,该块的运动矢量就不准确,从而导致内插出来的图像边缘模糊。而且在遮挡区域和暴露区域内像素点找不到与之相匹配的像素,那么运动估计获得的运动矢量就不正确,这样的区域用MCFI方法就会内插出错误块,也就造成了方块效应。采用MCFI会加大计算复杂度与运动估计的复杂度,并降低了高内插帧的质量,不适合实时应用。However, when the video sequence moves violently or there is scene switching, the correlation of adjacent frames decreases, and this interpolation method will fail. At the same time, since MCFI is a block-based algorithm, when a segmented block is at the edge of the object and contains several moving objects, the motion vector of the block will be inaccurate, resulting in blurred edges of the interpolated image. Moreover, no matching pixel can be found for the pixel points in the occluded area and the exposed area, so the motion vector obtained by motion estimation is incorrect. In such an area, the MCFI method will interpolate an error block, which will cause a square effect. The use of MCFI will increase the computational complexity and the complexity of motion estimation, and reduce the quality of high-interpolation frames, which is not suitable for real-time applications.

发明内容 Contents of the invention

本发明的目的在于克服现有技术的不足,本发明提供了一种基于运动矢量处理的帧率上转换方法及其装置,可以降低计算复杂度与运动估计的复杂度,能提高内插帧的质量,满足实时应用的要求。The purpose of the present invention is to overcome the deficiencies of the prior art. The present invention provides a frame rate up-conversion method and device based on motion vector processing, which can reduce the computational complexity and the complexity of motion estimation, and can improve the accuracy of interpolated frames. quality, meeting the requirements of real-time applications.

为了解决上述问题,本发明提出了一种基于运动矢量处理的帧率上转换方法,所述方法包括:In order to solve the above problems, the present invention proposes a frame rate up-conversion method based on motion vector processing, the method comprising:

对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生;Perform scene detection on the input original video sequence to detect whether there is currently a scene change;

若检测到场景变换发生时,则采用内插方式对所述原始视频序列进行处理并获得处理后的数据;If it is detected that a scene change occurs, the original video sequence is processed in an interpolation manner to obtain processed data;

若未检测到场景变换发生时,则采用外推方式对所述原始视频序列进行处理并获得处理后的数据;If no scene change is detected, the original video sequence is processed in an extrapolation manner to obtain processed data;

采用对称运动估计对处理后的数据进行计算,获得初始运动矢量场;Using symmetric motion estimation to calculate the processed data to obtain the initial motion vector field;

对所述初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场;performing motion vector processing on the motion vectors of the initial motion vector field to obtain a new motion vector field;

对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。Perform adaptive motion compensation processing on the motion vectors of the new motion vector field to obtain frames to be inserted.

优选地,所述对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生的步骤包括:采用帧差法检测场景变换,根据统计绝对差值和SAD超过特定阀值的块的个数判断是否有场景变换发生。Preferably, the step of performing scene detection on the input original video sequence and detecting whether there is currently a scene change includes: using the frame difference method to detect the scene change, and according to the statistical absolute difference and the number of blocks whose SAD exceeds a specific threshold Determine whether a scene change has occurred.

优选地,所述采用对称运动估计对处理后的数据进行计算,获得初始运动矢量场的步骤包括:以内插帧中待插块的坐标为基准,在两个参考帧中的搜索范围内对称的移动对应匹配块的位置,选出差别最小的那对块作为最佳匹配块,以获得运动矢量,形成初始运动矢量场。Preferably, the step of calculating the processed data by using symmetric motion estimation, and obtaining the initial motion vector field includes: taking the coordinates of the block to be interpolated in the interpolated frame as a reference, symmetrically within the search range of the two reference frames Move the position of the corresponding matching block, and select the pair of blocks with the smallest difference as the best matching block to obtain the motion vector and form the initial motion vector field.

优选地,所述对所述初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场的步骤包括:将运动矢量MV标记为L1的对应块分割为子块;将相邻的标记为L2的对饮块合并为大块,以获得可变块;对所述可变块进行运动估计,获得新运动矢量场。Preferably, the step of performing motion vector processing on the motion vectors of the initial motion vector field to obtain a new motion vector field includes: dividing the corresponding block whose motion vector MV is marked as L1 into sub-blocks; dividing the adjacent block as L2 The paired blocks are merged into large blocks to obtain variable blocks; motion estimation is performed on the variable blocks to obtain new motion vector fields.

优选地,所述对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧的步骤包括:采用前向帧或者后项帧对当前帧进行插补的,或者使用双向帧进行填补的方式对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。Preferably, the step of performing adaptive motion compensation processing on the motion vector of the new motion vector field, and obtaining the frame to be interpolated includes: interpolating the current frame by using the previous frame or the next frame, or using a bidirectional frame The way of filling is to perform adaptive motion compensation processing on the motion vectors of the new motion vector field to obtain the frame to be inserted.

相应地,本发明实施例还提供一种基于运动矢量处理的帧率上转换装置,所述装置包括:Correspondingly, an embodiment of the present invention also provides a frame rate up-conversion device based on motion vector processing, the device comprising:

场景检测模块,用于对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生;The scene detection module is used to carry out scene detection to the input original video sequence, and detects whether there is currently a scene change;

视频序列处理模块,用于若所述场景检测模块检测到场景变换发生时,则采用内插方式对所述原始视频序列进行处理并获得处理后的数据;若所述场景检测模块未检测到场景变换发生时,则采用外推方式对所述原始视频序列进行处理并获得处理后的数据;A video sequence processing module, configured to process the original video sequence in an interpolation manner and obtain processed data if the scene detection module detects that a scene change occurs; if the scene detection module does not detect a scene When the transformation occurs, the original video sequence is processed in an extrapolation manner to obtain processed data;

运动矢量获取模块,用于采用对称运动估计对所述视频序列处理模块处理后的数据进行计算,获得初始运动矢量场;A motion vector acquisition module is used to calculate the data processed by the video sequence processing module by using symmetric motion estimation to obtain an initial motion vector field;

运动矢量处理模块,用于对所述运动矢量获取模块所获得的初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场;A motion vector processing module, configured to perform motion vector processing on the motion vectors of the initial motion vector field obtained by the motion vector acquisition module to obtain a new motion vector field;

自适应插值滤波器,用于对所述运动矢量处理模块所获得的新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。The adaptive interpolation filter is used to perform adaptive motion compensation processing on the motion vectors of the new motion vector field obtained by the motion vector processing module to obtain frames to be interpolated.

优选地,所述场景检测模块还用于采用帧差法检测场景变换,根据统计绝对差值和SAD超过特定阀值的块的个数判断是否有场景变换发生。Preferably, the scene detection module is also used to detect scene changes using the frame difference method, and judge whether there is a scene change according to the statistical absolute difference and the number of blocks whose SAD exceeds a certain threshold.

优选地,所述运动矢量获取模块还用于以内插帧中待插块的坐标为基准,在两个参考帧中的搜索范围内对称的移动对应匹配块的位置,选出差别最小的那对块作为最佳匹配块,以获得运动矢量,形成初始运动矢量场。Preferably, the motion vector acquisition module is also used to move the position of the corresponding matching block symmetrically within the search range of the two reference frames based on the coordinates of the block to be inserted in the interpolation frame, and select the pair with the smallest difference block as the best matching block to obtain the motion vector and form the initial motion vector field.

优选地,所述运动矢量处理模块还用于将运动矢量MV标记为L1的对应块分割为子块,将相邻的标记为L2的对饮块合并为大块,以获得可变块,对所述可变块进行运动估计,获得新运动矢量场。Preferably, the motion vector processing module is also used to divide the corresponding block marked as L1 of the motion vector MV into sub-blocks, and merge adjacent blocks marked as L2 into large blocks to obtain variable blocks. The variable block performs motion estimation to obtain a new motion vector field.

优选地,所述自适应插值滤波器还用于采用前向帧或者后项帧对当前帧进行插补的,或者使用双向帧进行填补的方式对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。Preferably, the adaptive interpolation filter is also used to interpolate the current frame by using the previous frame or the next frame, or to adapt the motion vector of the new motion vector field by using bidirectional frame filling. Motion compensation processing to obtain frames to be interpolated.

在本发明实施例中,在帧率转换的3个不同的阶段分别采取了不同的方法来提升插值图像的主观效果。首先,利用场景检测来判断是使用内插的方法或者外推的方法对原始视频序列进行处理,然后对运动估计得到的初始运动矢量场进行更新校验,以得到最可靠的运动矢量(MV)。最后自适应地选择插值滤波器的权值进一步消除局部模糊现象。场景检测采用帧差法,在帧率转换应用中简单实用。因为它只需统计SAD超过某一阈值的大小的个数,可降低计算复杂度与运动估计的复杂度,对整体复杂度的影响不大,另外,不仅能提高内插帧的质量,同时也满足实时应用的要求。In the embodiment of the present invention, different methods are adopted in the three different stages of the frame rate conversion to improve the subjective effect of the interpolated image. First, use scene detection to judge whether to use interpolation method or extrapolation method to process the original video sequence, and then update and check the initial motion vector field obtained by motion estimation to obtain the most reliable motion vector (MV) . Finally, the weight of the interpolation filter is adaptively selected to further eliminate local blurring. The scene detection adopts the frame difference method, which is simple and practical in the frame rate conversion application. Because it only needs to count the number of SADs exceeding a certain threshold, it can reduce the computational complexity and the complexity of motion estimation, and has little impact on the overall complexity. In addition, it can not only improve the quality of interpolated frames, but also Meet the requirements of real-time applications.

附图说明 Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1是本发明实施例的基于运动矢量处理的帧率上转换方法的流程示意图;1 is a schematic flow chart of a frame rate up-conversion method based on motion vector processing according to an embodiment of the present invention;

图2是本发明实施例的场景检测示意图;FIG. 2 is a schematic diagram of scene detection according to an embodiment of the present invention;

图3是本发明实施例的对称运动估计示意图;FIG. 3 is a schematic diagram of symmetric motion estimation according to an embodiment of the present invention;

图4是本发明实施例的基于运动矢量处理的帧率上转换装置的结构组成示意图。Fig. 4 is a schematic structural composition diagram of a frame rate up-conversion device based on motion vector processing according to an embodiment of the present invention.

具体实施方式 Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在本发明实施例中,利用场景检测功能对输入的原始视频序列进行检测,检测当前是否有场景变换发生。如果检测到当前场景发生变换,采用外推的方式对原始视频序列进行处理;若没有检测到场景变换,采用内插的方式对原始视频序列进行处理。通过对称运动估计(双向运动估计)得到一个初始运动矢量场(MVF)。这个初始的MVF能够大致反映物体的运动轨迹,但是在物体的边缘区域、遮挡区域以及暴露区域,有些运动矢量(MV)有可能不可靠,对不可靠的MV进行校验更正等处理后得到比较可靠的MV。最后,选用自适应插值滤波器进行处理以得到待插帧的输出。In the embodiment of the present invention, the scene detection function is used to detect the input original video sequence to detect whether there is currently a scene change. If it is detected that the current scene changes, the original video sequence is processed by extrapolation; if no scene change is detected, the original video sequence is processed by interpolation. An initial motion vector field (MVF) is obtained by symmetric motion estimation (bidirectional motion estimation). This initial MVF can roughly reflect the motion trajectory of the object, but in the edge area, occlusion area, and exposure area of the object, some motion vectors (MV) may be unreliable, and the unreliable MV is verified and corrected to be compared. Reliable MV. Finally, an adaptive interpolation filter is selected for processing to obtain the output of the frame to be interpolated.

图1是本发明实施例的基于运动矢量处理的帧率上转换方法的流程示意图,如图1所示,该方法包括:Fig. 1 is a schematic flow chart of a frame rate up-conversion method based on motion vector processing according to an embodiment of the present invention. As shown in Fig. 1, the method includes:

S101,对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生;若检测到场景变换发生时,则执行S102,若未若检测到场景变换发生时,则执行S103;S101, perform scene detection on the input original video sequence, and detect whether there is currently a scene change; if it is detected that the scene change occurs, then execute S102; if not, if it is detected that the scene change occurs, then execute S103;

S102,采用内插方式对原始视频序列进行处理并获得处理后的数据;S102. Process the original video sequence in an interpolation manner and obtain processed data;

S103,采用外推方式对原始视频序列进行处理并获得处理后的数据;S103, processing the original video sequence by means of extrapolation and obtaining processed data;

S104,采用对称运动估计对处理后的数据进行计算,获得初始运动矢量场;S104, using symmetric motion estimation to calculate the processed data to obtain an initial motion vector field;

S105,对初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场;S105, performing motion vector processing on the motion vectors of the initial motion vector field to obtain a new motion vector field;

S106,对新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。其中,S101包括:S106. Perform adaptive motion compensation processing on the motion vectors of the new motion vector field to obtain frames to be inserted. Among them, S101 includes:

采用帧差法检测场景变换,根据统计绝对差值和SAD超过特定阀值的块的个数判断是否有场景变换发生。The frame difference method is used to detect scene changes, and whether there is a scene change is judged according to the statistical absolute difference and the number of blocks whose SAD exceeds a certain threshold.

下面结合图2对本发明实施例的场景检测进行详细说明。The scene detection of the embodiment of the present invention will be described in detail below with reference to FIG. 2 .

一般情况下,视频序列的相邻帧之间存在很大的相关性。如图2所示,fn-3帧和fn-1帧之间、fn+1帧和fn+3帧之间都存在很大的相关性。但是当出现镜头切换的情况时,处于切换点的两帧通常会存在极大的差异,比如fn-1帧和fn+1帧。此时如果仍然采用内插的方法用fn-1帧和fn+1帧对fn帧进行预测,则无法得到有效的插帧。这种情况下若使用外推法,即使用fn-3帧和fn-1帧或者fn+1帧和fn+3帧来外推帧,往往能得到更好的效果。In general, there is a large correlation between adjacent frames of a video sequence. As shown in FIG. 2, there are great correlations between f n-3 frames and f n-1 frames, and between f n+1 frames and f n+3 frames. However, when there is a lens switching situation, there is usually a huge difference between the two frames at the switching point, such as f n-1 frame and f n+1 frame. At this time, if the interpolation method is still used to predict frame f n by using frame f n-1 and frame f n+1 , effective frame interpolation cannot be obtained. In this case, if the extrapolation method is used, that is, frames f n-3 and f n-1 or frames f n+1 and f n+3 are used to extrapolate frames, a better effect can often be obtained.

具体实施中,采用帧差法来检测场景的变换,通过统计绝对差值和(Sum ofAbsolute Difference,SAD)超过某一给定阈值(特定阀值)的块的个数来判断是否有场景变换产生。对于输入序列的每两个相邻帧,按式(1)计算对应宏块的SAD值。In the specific implementation, the frame difference method is used to detect the transformation of the scene, and the number of blocks whose sum of absolute difference (Sum of Absolute Difference, SAD) exceeds a certain threshold (specific threshold) is used to judge whether there is a scene transformation . For every two adjacent frames of the input sequence, calculate the SAD value of the corresponding macroblock according to formula (1).

SADSAD [[ BB ijij ]] == ΣΣ sthe s ∈∈ BB ijij || ff nno -- 11 [[ SS ]] -- ff nno ++ 11 [[ SS ]] || -- -- -- (( 11 ))

其中,fn-1、fn+1是两个相邻帧,Bij是帧内的一个宏块。Wherein, f n-1 and f n+1 are two adjacent frames, and B ij is a macroblock in the frame.

统计SAD大于一定阈值的宏块数目(SAD_num)。假设fn-3与fn-1之间SAD大于阈值的宏块数目为SAD_num0,fn-1与fn+1之间为SAD_num1,fn+1与fn+3之间为SAD_num2。The number of macroblocks whose SAD is greater than a certain threshold (SAD_num) is counted. Assume that the number of macroblocks with SAD greater than the threshold between f n-3 and f n-1 is SAD_num0, between f n-1 and f n+1 is SAD_num1, and between f n+1 and f n+3 is SAD_num2.

如果SAD_num1<n,那么说明相邻帧的相关性很大,于是采用内插的方法。如果SAD_num1>n,那么判定这两个相邻帧之间存在场景的切换。此时采用外推的方法对中间帧fn进行估计。If SAD_num1<n, it means that the correlation of adjacent frames is very high, so the method of interpolation is adopted. If SAD_num1>n, it is determined that there is a scene switch between these two adjacent frames. At this time, an extrapolation method is used to estimate the intermediate frame f n .

外推时,如果满足When extrapolating, if it satisfies

SADSAD __ numnum 00 << nno SADSAD __ numnum 11 >> nno SADSAD __ numnum 22 >> nno -- -- -- (( 22 ))

那么就利用前面两帧fn-3,fn-1外推当前帧fnThen use the previous two frames f n-3 and f n-1 to extrapolate the current frame f n .

如果满足下式If the following formula is satisfied

SADSAD __ numnum 00 >> nno SADSAD __ numnum 11 >> nno SADSAD __ numnum 22 << nno -- -- -- (( 33 ))

那么就采用后面两帧fn+1,fn+3外推当前帧fnThen the current frame f n is extrapolated using the following two frames f n+1 and f n+3 .

如果SAD_num0,SAD_num1,SAD_num2都大于n,那么说明存在镜头连续切换,这时不管是内插还是外推都不能得到很好的效果,针对这种情况,采用跳帧的方法。这样既保证了每幅图像的质量,而且对于整段视频来说,画面仍然非常流畅。If SAD_num0, SAD_num1, and SAD_num2 are all greater than n, it means that there is continuous camera switching. At this time, neither interpolation nor extrapolation can get good results. In this case, the method of frame skipping is adopted. In this way, the quality of each image is guaranteed, and for the entire video, the picture is still very smooth.

进一步地,S104包括:以内插帧中待插块的坐标为基准,在两个参考帧中的搜索范围内对称的移动对应匹配块的位置,选出差别最小的那对块作为最佳匹配块,以获得运动矢量,形成初始运动矢量场。Further, S104 includes: taking the coordinates of the block to be inserted in the interpolation frame as a reference, symmetrically moving the position of the corresponding matching block within the search range of the two reference frames, and selecting the pair of blocks with the smallest difference as the best matching block , to obtain the motion vector and form the initial motion vector field.

帧率转换中通常采用传统的运动估计,该方法对两个已知相邻帧,以其中一帧图像的一个块为基准,在另一帧图像中搜索最佳匹配块,从而得到运动矢量(MV),然后取MV/2作为中间帧的运动矢量。这种方法通常会导致了重叠和漏洞现象的出现。Traditional motion estimation is usually used in frame rate conversion. This method searches for the best matching block in the other frame image for two known adjacent frames based on a block of one frame image, so as to obtain the motion vector ( MV), and then take MV/2 as the motion vector of the intermediate frame. This approach often results in overlaps and gaps.

在本发明中,采用对称运动估计方式进行运动估计,能够解决现有采用传统运动估计所存在的问题。对称运动估计是以内插帧中待插块的坐标为基准,然后在两个参考帧中的一定搜索范围内对称的移动对应匹配块的位置,按照式(4)的匹配准则,选出差别最小的那对块作为最佳匹配块。图3是对称运动估计的示意图。这种对称的运动估计使得待插针中每个块是“无缝”拼接的,因此很好地解决了直接运动估计带来的漏洞和重叠问题。In the present invention, the symmetric motion estimation method is used for motion estimation, which can solve the existing problems of conventional motion estimation. Symmetrical motion estimation is based on the coordinates of the block to be inserted in the interpolation frame, and then moves the position of the corresponding matching block symmetrically within a certain search range in the two reference frames. According to the matching criterion of formula (4), the smallest difference is selected The pair of blocks is regarded as the best matching block. Fig. 3 is a schematic diagram of symmetric motion estimation. This kind of symmetrical motion estimation makes each block in the pin to be spliced "seamlessly", so it solves the loopholes and overlapping problems caused by direct motion estimation.

SADSAD __ interinter [[ BB ijij ]] == &Sigma;&Sigma; sthe s &Element;&Element; BB ijij || ff nno -- 11 [[ SS -- MVMV ]] ff nno -- 11 [[ SS ++ MVMV ]] || -- -- -- (( 44 ))

但是,依照式(4)的匹配准则得到的MV是视频编码中为了提高编码效率,使残差最小时的MV,并不是真正意义上的运动轨迹。However, the MV obtained according to the matching criterion of formula (4) is the MV when the residual error is minimized in order to improve the coding efficiency in video coding, and it is not a real motion track.

在FRUC中,为了使MV更接近真实的运动轨迹,同时考虑帧内的相关性,修正了运动估计的匹配准则,使用式(5)作为匹配准则。In FRUC, in order to make the MV closer to the real motion trajectory, while considering the correlation within the frame, the matching criterion of motion estimation is revised, and formula (5) is used as the matching criterion.

SAD[Bij]=SAD_inter[Bij]+λSAD_intra[Bij]        (5)SAD[B ij ]=SAD_inter[B ij ]+λSAD_intra[B ij ] (5)

SADSAD __ intraintra [[ BB ijij ]] == &Sigma;&Sigma; hh == 00 11 &Sigma;&Sigma; ll == 00 NN -- 11 || xx klkl -- xx klkl &prime;&prime; || -- -- -- (( 66 ))

式(6)中的SAD_intra表示当前块的上水平边界和左垂直边界与它们相邻边界的绝对差,N是一块的宽度,块的大小为N×N的大小。λ是加权系数,取0~16的整数。它是一个经验值,对于运动较剧烈的序列,λ取值应该偏小,对运动较平缓的序列,λ取值应该偏大。SAD_intra in formula (6) represents the absolute difference between the upper horizontal boundary and the left vertical boundary of the current block and their adjacent boundaries, N is the width of a block, and the size of the block is N×N. λ is a weighting coefficient, which is an integer ranging from 0 to 16. It is an empirical value. For sequences with more violent movements, the value of λ should be relatively small, and for sequences with relatively gentle movements, the value of λ should be relatively large.

进一步地,S105包括:Further, S105 includes:

将运动矢量MV标记为L1的对应块分割为子块;Divide the corresponding block whose motion vector MV is labeled L1 into sub-blocks;

将相邻的标记为L2的对饮块合并为大块,以获得可变块;Merge adjacent drinking blocks labeled L2 into large blocks to obtain variable blocks;

对可变块进行运动估计,获得新运动矢量场。Perform motion estimation on the variable block to obtain a new motion vector field.

下面对本发明实施例的运动矢量处理过程进行详细说明。The motion vector processing process of the embodiment of the present invention will be described in detail below.

对称运动估计后就能得到一个初始的MVF,这个MVF里面大部分MV是可靠的,但是仍然存在部分不可靠的MV。不可靠的MV会导致对应块在插帧时发生错误,进而严重影响主观效果。因此,运动矢量处理在MCFI中一个非常重要的部分。After symmetric motion estimation, an initial MVF can be obtained. Most of the MVs in this MVF are reliable, but there are still some unreliable MVs. Unreliable MVs will cause errors in corresponding blocks when inserting frames, which will seriously affect the subjective effect. Therefore, motion vector processing is a very important part in MCFI.

一般来说,SAD较大也就是匹配误差较大,这样的块对应的MV往往是不可靠的,因此,SAD是判断MV是否可靠的一个基本原则。但是对于有些块虽然SAD很小,但是其MV也不可靠。这种情况产生的原因是一副图像里有很多相似或者重复的区域,一个可能对应几个最佳匹配块,依据SAD最小,得到的MV可靠性很难保证。这样的MV可以通过MV的相关性来判断进而进行处理。Generally speaking, a larger SAD means a larger matching error, and the MV corresponding to such a block is often unreliable. Therefore, SAD is a basic principle for judging whether the MV is reliable. But for some blocks, although the SAD is small, the MV is not reliable. The reason for this situation is that there are many similar or repeated regions in an image, and one may correspond to several best matching blocks. According to the minimum SAD, the reliability of the obtained MV is difficult to guarantee. Such MVs can be judged and processed based on the correlation of the MVs.

在本发明实施例中,结合SAD和MV的相关性来对MV的可靠性进行分类。In the embodiment of the present invention, the reliability of the MV is classified based on the correlation between the SAD and the MV.

设(w,h)是当前块在一幅图像所有块中的位置,w是当前块所在的行块数,h是当前所在的列块数,(xw,h,yw,h)是当前块的运动矢量。Suppose (w, h) is the position of the current block in all blocks of an image, w is the number of row blocks where the current block is located, h is the number of column blocks where the current block is located, (x w, h , y w, h ) is The motion vector of the current block.

当前块与之周围的8个相邻块之间的相关系数定义为The correlation coefficient between the current block and its surrounding 8 adjacent blocks is defined as

CC ww ,, hh == 11 88 &Sigma;&Sigma; ii == -- 11 11 &Sigma;&Sigma; jj == -- 11 11 (( xx ww ,, hh -- xx ww ++ ii ,, hh ++ jj )) 22 ++ (( ythe y ww ,, hh -- ythe y ww ++ ii ,, hh ++ jj )) 22 11 99 &Sigma;&Sigma; ii == -- 11 11 &Sigma;&Sigma; jj == -- 11 11 xx ww ++ ii ,, hh ++ jj 22 ++ ythe y ww ++ ii ,, hh ++ jj 22 -- -- -- (( 77 ))

当前块与周围相邻块的平均相关系数定义为The average correlation coefficient between the current block and surrounding adjacent blocks is defined as

CC ww ,, hh avgavg == 11 99 &Sigma;&Sigma; ii == -- 11 11 &Sigma;&Sigma; jj == -- 11 11 CC ww ++ ii ,, hh ++ jj -- -- -- (( 88 ))

将一幅图像的所有运动矢量分为3类,第1类是由于SAD过大引起的不可靠MV,标记为L1;第2类是由于当前块的MV与周围块的MV相关性不大引起的不可靠MV,标记为L2;剩下的第3类为可靠的MV,标记为L3。All the motion vectors of an image are divided into three categories, the first category is unreliable MV caused by excessive SAD, marked as L1; the second category is caused by the MV of the current block and the MV of the surrounding blocks are not very correlated The unreliable MVs are marked as L2; the remaining 3rd type are reliable MVs and are marked as L3.

用式(9)表示上述运动矢量类别如下:The above-mentioned motion vector category is represented by formula (9) as follows:

Figure BDA0000158083160000083
Figure BDA0000158083160000083

式(9)中的SAD是式(5)求出来的结果。SAD in formula (9) is the result obtained from formula (5).

对运动矢量分类后,对于标记L1和标记L2的不可靠MV要分别采取不同的方法进行处理。运动矢量的处理过程如下:After the motion vectors are classified, different methods are used to deal with the unreliable MVs marked L1 and L2 respectively. The processing of motion vectors is as follows:

1、将MV标记为L1的对应块分割为子块。由于这样的块往往是物体的边缘,所以它可能包含两个不同的物体,因此将块划分为小块,每一块包含一个物体,这样能使物体的边缘更清晰;1. Divide the corresponding block whose MV is marked as L1 into sub-blocks. Since such a block is often the edge of an object, it may contain two different objects, so the block is divided into small blocks, each containing an object, which can make the edge of the object clearer;

2、将相邻的标记为L2的对饮块合并为大块。由于L2类的MV往往是出现在周围运动矢量都很平滑的区域,而只有被标记的这个MV不规则,因此要与周围的块合并成一个大块;2. Merge the adjacent drinking blocks marked L2 into a large block. Since the MV of the L2 class often appears in the area where the surrounding motion vectors are smooth, and only the marked MV is irregular, it must be merged with the surrounding blocks into a large block;

3、经过前面的分割和合并之后,块的大小已经不是初始的固定大小了,变成了可变块大小。对这些可变块要重新运动估计,得到一个新的MVF;3. After the previous division and merging, the size of the block is no longer the initial fixed size, but a variable block size. For these variable blocks, re-motion estimation is required to obtain a new MVF;

4、对更新后的MV的可靠性重新分类;4. Reclassify the reliability of the updated MV;

5、重复以上的4个过程,直到L1类别对应块的SAD小于某一固定阈值或者是最小分割块达到2*2的块大小。5. Repeat the above 4 processes until the SAD of the block corresponding to the L1 category is smaller than a certain fixed threshold or the smallest segmented block reaches a block size of 2*2.

进一步地,S106可包括:采用前向帧或者后项帧对当前帧进行插补的,或者使用双向帧进行填补的方式对新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。Further, S106 may include: performing adaptive motion compensation processing on the motion vector of the new motion vector field by using the previous frame or the subsequent frame to interpolate the current frame, or using bidirectional frame filling to obtain the frame to be interpolated .

下面对本发明实施例所采用的自适应运动补偿方式进行说明。The adaptive motion compensation method adopted by the embodiment of the present invention will be described below.

MCFI实际上是一个线性滤波的过程,插值结果可用下式表示:MCFI is actually a linear filtering process, and the interpolation result can be expressed by the following formula:

ff ^^ nno [[ sthe s ,, vv ]] == &lambda;f&lambda; f nno -- 11 [[ sthe s -- MVMV ]] ++ (( 11 -- &lambda;&lambda; )) ff nno ++ 11 [[ sthe s ++ MVMV ]] -- -- -- (( 1010 ))

式中fn-1与fn+1是已知的两相邻帧,

Figure BDA0000158083160000092
是预测出来的帧。S表示一个分割块,MV是该块对应的运动矢量。权值λ一般取0.5。但是这种固定权值的滤波器往往会让局部模糊。本发明按以下公式选择λ:where f n-1 and f n+1 are known two adjacent frames,
Figure BDA0000158083160000092
is the predicted frame. S represents a partition block, and MV is the motion vector corresponding to the block. The weight λ is generally 0.5. However, this fixed-weight filter tends to blur the local area. The present invention selects λ according to the following formula:

Figure BDA0000158083160000093
Figure BDA0000158083160000093

如果当前块的SAD超过了某一阈值,那么采用前向帧或者后项帧对当前帧进行插补,否则,使用双向帧进行填补。If the SAD of the current block exceeds a certain threshold, the current frame is interpolated using the forward frame or the subsequent frame, otherwise, the two-way frame is used for filling.

在本发明实施例中,在帧率转换的3个不同的阶段分别采取了不同的方法来提升插值图像的主观效果。首先,利用场景检测来判断是使用内插的方法或者外推的方法对原始视频序列进行处理,然后对运动估计得到的初始运动矢量场进行更新校验,以得到最可靠的运动矢量(MV)。最后自适应地选择插值滤波器的权值进一步消除局部模糊现象。场景检测采用帧差法,在帧率转换应用中简单实用。因为它只需统计SAD超过某一阈值的大小的个数,可降低计算复杂度与运动估计的复杂度,对整体复杂度的影响不大,另外,不仅能提高内插帧的质量,同时也满足实时应用的要求。In the embodiment of the present invention, different methods are adopted in the three different stages of the frame rate conversion to improve the subjective effect of the interpolated image. First, use scene detection to judge whether to use interpolation method or extrapolation method to process the original video sequence, and then update and check the initial motion vector field obtained by motion estimation to obtain the most reliable motion vector (MV) . Finally, the weight of the interpolation filter is adaptively selected to further eliminate local blurring. Scene detection adopts frame difference method, which is simple and practical in frame rate conversion applications. Because it only needs to count the number of SADs exceeding a certain threshold, it can reduce the computational complexity and the complexity of motion estimation, and has little impact on the overall complexity. In addition, it can not only improve the quality of interpolated frames, but also Meet the requirements of real-time applications.

图4是本发明实施例的基于运动矢量处理的帧率上转换装置的结构组成示意图,如图4所示,该装置包括:Fig. 4 is a schematic structural composition diagram of a frame rate up-conversion device based on motion vector processing according to an embodiment of the present invention. As shown in Fig. 4 , the device includes:

场景检测模块40,用于对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生;Scene detection module 40, is used for carrying out scene detection to the original video sequence of input, detects whether there is scene change to take place at present;

视频序列处理模块41,用于若场景检测模块40检测到场景变换发生时,则采用内插方式对原始视频序列进行处理并获得处理后的数据;若场景检测模块40未检测到场景变换发生时,则采用外推方式对原始视频序列进行处理并获得处理后的数据;The video sequence processing module 41 is used for if the scene detection module 40 detects that the scene change occurs, then adopts the interpolation mode to process the original video sequence and obtains the processed data; if the scene detection module 40 does not detect that the scene change occurs , then use extrapolation to process the original video sequence and obtain the processed data;

运动矢量获取模块42,用于采用对称运动估计对视频序列处理模块41处理后的数据进行计算,获得初始运动矢量场;The motion vector acquisition module 42 is used to calculate the data processed by the video sequence processing module 41 by using symmetric motion estimation to obtain an initial motion vector field;

运动矢量处理模块43,用于对运动矢量获取模块42所获得的初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场;A motion vector processing module 43, configured to perform motion vector processing on the motion vector of the initial motion vector field obtained by the motion vector acquisition module 42 to obtain a new motion vector field;

自适应插值滤波器44,用于对运动矢量处理模块43所获得的新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。The adaptive interpolation filter 44 is configured to perform adaptive motion compensation processing on the motion vectors of the new motion vector field obtained by the motion vector processing module 43 to obtain frames to be interpolated.

具体实施中,场景检测模块40还用于采用帧差法检测场景变换,根据统计绝对差值和SAD超过特定阀值的块的个数判断是否有场景变换发生。In a specific implementation, the scene detection module 40 is also used to detect a scene change using the frame difference method, and judge whether there is a scene change according to the statistical absolute difference and the number of blocks whose SAD exceeds a certain threshold.

进一步地,运动矢量获取模块42还用于以内插帧中待插块的坐标为基准,在两个参考帧中的搜索范围内对称的移动对应匹配块的位置,选出差别最小的那对块作为最佳匹配块,以获得运动矢量,形成初始运动矢量场。Further, the motion vector acquisition module 42 is also used for taking the coordinates of the block to be inserted in the interpolation frame as a reference, symmetrically moving the position of the corresponding matching block within the search range of the two reference frames, and selecting the pair of blocks with the smallest difference As the best matching block, motion vectors are obtained to form an initial motion vector field.

进一步地,运动矢量处理模块43还用于将运动矢量MV标记为L1的对应块分割为子块,将相邻的标记为L2的对饮块合并为大块,以获得可变块,对可变块进行运动估计,获得新运动矢量场。Further, the motion vector processing module 43 is also used to divide the corresponding block marked as L1 of the motion vector MV into sub-blocks, and merge adjacent corresponding blocks marked as L2 into large blocks to obtain variable blocks, which can be Change the block for motion estimation and obtain a new motion vector field.

进一步地,自适应插值滤波器44还用于采用前向帧或者后项帧对当前帧进行插补的,或者使用双向帧进行填补的方式对新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。Further, the adaptive interpolation filter 44 is also used to interpolate the current frame by using the previous frame or the next frame, or to perform adaptive motion compensation processing on the motion vector of the new motion vector field by using the bidirectional frame to fill , to obtain the frame to be inserted.

本发明实施例中的基于运动矢量处理的帧率上转换装置的各模块功能的实现过程及原理可参见本发明的基于运动矢量处理的帧率上转换方法的实施例中的相应过程描述,这里不再赘述。For the implementation process and principle of each module function of the frame rate up-conversion device based on motion vector processing in the embodiment of the present invention, please refer to the corresponding process description in the embodiment of the frame rate up-conversion method based on motion vector processing in the present invention, here No longer.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), disk or CD, etc.

另外,以上对本发明实施例所提供的基于运动矢量处理的帧率上转换方法及其装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。In addition, the frame rate up-conversion method and device based on motion vector processing provided by the embodiments of the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The above embodiments The description is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary , the contents of this specification should not be construed as limiting the present invention.

Claims (10)

1.一种基于运动矢量处理的帧率上转换方法,其特征在于,所述方法包括:1. A frame rate up-conversion method based on motion vector processing, characterized in that the method comprises: 对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生;Perform scene detection on the input original video sequence to detect whether there is currently a scene change; 若检测到场景变换发生时,则采用内插方式对所述原始视频序列进行处理并获得处理后的数据;If it is detected that a scene change occurs, the original video sequence is processed in an interpolation manner to obtain processed data; 若未检测到场景变换发生时,则采用外推方式对所述原始视频序列进行处理并获得处理后的数据;If no scene change is detected, the original video sequence is processed in an extrapolation manner to obtain processed data; 采用对称运动估计对处理后的数据进行计算,获得初始运动矢量场;Using symmetric motion estimation to calculate the processed data to obtain the initial motion vector field; 对所述初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场;performing motion vector processing on the motion vectors of the initial motion vector field to obtain a new motion vector field; 对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。Perform adaptive motion compensation processing on the motion vectors of the new motion vector field to obtain frames to be inserted. 2.如权利要求1所述的基于运动矢量处理的帧率上转换方法,其特征在于,所述对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生的步骤包括:2. the frame rate up-conversion method based on motion vector processing as claimed in claim 1, is characterized in that, described original video sequence of input is carried out scene detection, detects whether the step that current scene change takes place comprises: 采用帧差法检测场景变换,根据统计绝对差值和SAD超过特定阀值的块的个数判断是否有场景变换发生。The frame difference method is used to detect scene changes, and whether there is a scene change is judged according to the statistical absolute difference and the number of blocks whose SAD exceeds a certain threshold. 3.如权利要求1或2所述的基于运动矢量处理的帧率上转换方法,其特征在于,所述采用对称运动估计对处理后的数据进行计算,获得初始运动矢量场的步骤包括:3. The frame rate up-conversion method based on motion vector processing as claimed in claim 1 or 2, wherein said symmetric motion estimation is used to calculate the processed data, and the step of obtaining an initial motion vector field comprises: 以内插帧中待插块的坐标为基准,在两个参考帧中的搜索范围内对称的移动对应匹配块的位置,选出差别最小的那对块作为最佳匹配块,以获得运动矢量,形成初始运动矢量场。Based on the coordinates of the block to be inserted in the interpolation frame, the position of the corresponding matching block is moved symmetrically within the search range of the two reference frames, and the pair of blocks with the smallest difference is selected as the best matching block to obtain the motion vector. Form the initial motion vector field. 4.如权利要求3所述的基于运动矢量处理的帧率上转换方法,其特征在于,所述对所述初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场的步骤包括:4. The frame rate up-conversion method based on motion vector processing as claimed in claim 3, wherein the step of carrying out motion vector processing to the motion vector of the initial motion vector field to obtain a new motion vector field comprises: 将运动矢量MV标记为L1的对应块分割为子块;Divide the corresponding block whose motion vector MV is labeled L1 into sub-blocks; 将相邻的标记为L2的对饮块合并为大块,以获得可变块;Merge adjacent drinking blocks labeled L2 into large blocks to obtain variable blocks; 对所述可变块进行运动估计,获得新运动矢量场。Motion estimation is performed on the variable block to obtain a new motion vector field. 5.如权利要求4所述的基于运动矢量处理的帧率上转换方法,其特征在于,所述对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧的步骤包括:采用前向帧或者后项帧对当前帧进行插补的,或者使用双向帧进行填补的方式对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。5. The frame rate up-conversion method based on motion vector processing as claimed in claim 4, wherein the step of performing adaptive motion compensation processing on the motion vector of the new motion vector field to obtain the frame to be inserted comprises : performing adaptive motion compensation on the motion vector of the new motion vector field by using the previous frame or the next frame to interpolate the current frame, or using bidirectional frames to fill in, to obtain the frame to be interpolated. 6.一种基于运动矢量处理的帧率上转换装置,其特征在于,所述装置包括:6. A frame rate up conversion device based on motion vector processing, characterized in that the device comprises: 场景检测模块,用于对输入的原始视频序列进行场景检测,检测当前是否有场景变换发生;The scene detection module is used to carry out scene detection to the input original video sequence, and detects whether there is currently a scene change; 视频序列处理模块,用于若所述场景检测模块检测到场景变换发生时,则采用内插方式对所述原始视频序列进行处理并获得处理后的数据;若所述场景检测模块未检测到场景变换发生时,则采用外推方式对所述原始视频序列进行处理并获得处理后的数据;A video sequence processing module, configured to process the original video sequence in an interpolation manner and obtain processed data if the scene detection module detects that a scene change occurs; if the scene detection module does not detect a scene When the transformation occurs, the original video sequence is processed in an extrapolation manner to obtain processed data; 运动矢量获取模块,用于采用对称运动估计对所述视频序列处理模块处理后的数据进行计算,获得初始运动矢量场;A motion vector acquisition module is used to calculate the data processed by the video sequence processing module by using symmetric motion estimation to obtain an initial motion vector field; 运动矢量处理模块,用于对所述运动矢量获取模块所获得的初始运动矢量场的运动矢量进行运动矢量处理获得新运动矢量场;A motion vector processing module, configured to perform motion vector processing on the motion vectors of the initial motion vector field obtained by the motion vector acquisition module to obtain a new motion vector field; 自适应插值滤波器,用于对所述运动矢量处理模块所获得的新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。The adaptive interpolation filter is used to perform adaptive motion compensation processing on the motion vectors of the new motion vector field obtained by the motion vector processing module to obtain frames to be interpolated. 7.如权利要求6所述的基于运动矢量处理的帧率上转换装置,其特征在于,所述场景检测模块还用于采用帧差法检测场景变换,根据统计绝对差值和SAD超过特定阀值的块的个数判断是否有场景变换发生。7. The frame rate up-converting device based on motion vector processing as claimed in claim 6, wherein the scene detection module is also used to detect scene changes using the frame difference method, and exceed a specific threshold according to the statistical absolute difference and SAD The number of blocks of value determines whether there is a scene change. 8.如权利要求6或7所述的基于运动矢量处理的帧率上转换装置,其特征在于,所述运动矢量获取模块还用于以内插帧中待插块的坐标为基准,在两个参考帧中的搜索范围内对称的移动对应匹配块的位置,选出差别最小的那对块作为最佳匹配块,以获得运动矢量,形成初始运动矢量场。8. The frame rate up-converting device based on motion vector processing as claimed in claim 6 or 7, wherein the motion vector acquisition module is also used to take the coordinates of the block to be inserted in the interpolation frame as a reference, in two The position of the corresponding matching block is moved symmetrically within the search range in the reference frame, and the pair of blocks with the smallest difference is selected as the best matching block to obtain a motion vector and form an initial motion vector field. 9.如权利要求8所述的基于运动矢量处理的帧率上转换装置,其特征在于,所述运动矢量处理模块还用于将运动矢量MV标记为L1的对应块分割为子块,将相邻的标记为L2的对饮块合并为大块,以获得可变块,对所述可变块进行运动估计,获得新运动矢量场。9. The frame rate up-conversion device based on motion vector processing as claimed in claim 8, wherein the motion vector processing module is also used to divide the corresponding block whose motion vector MV is marked as L1 into sub-blocks, and Adjacent blocks labeled L2 are merged into large blocks to obtain variable blocks, and motion estimation is performed on the variable blocks to obtain a new motion vector field. 10.如权利要求9所述的基于运动矢量处理的帧率上转换装置,其特征在于,所述自适应插值滤波器还用于采用前向帧或者后项帧对当前帧进行插补的,或者使用双向帧进行填补的方式对所述新运动矢量场的运动矢量进行自适应运动补偿处理,获得待插帧。10. The frame rate up-conversion device based on motion vector processing according to claim 9, wherein the adaptive interpolation filter is also used to interpolate the current frame by using a forward frame or a subsequent frame, Or perform adaptive motion compensation processing on the motion vectors of the new motion vector field in a manner of padding with bidirectional frames to obtain frames to be inserted.
CN2012101289965A 2012-04-27 2012-04-27 Motion vector processing-based frame rate up-conversion method and device Pending CN102665061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101289965A CN102665061A (en) 2012-04-27 2012-04-27 Motion vector processing-based frame rate up-conversion method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101289965A CN102665061A (en) 2012-04-27 2012-04-27 Motion vector processing-based frame rate up-conversion method and device

Publications (1)

Publication Number Publication Date
CN102665061A true CN102665061A (en) 2012-09-12

Family

ID=46774460

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101289965A Pending CN102665061A (en) 2012-04-27 2012-04-27 Motion vector processing-based frame rate up-conversion method and device

Country Status (1)

Country Link
CN (1) CN102665061A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702059A (en) * 2013-12-06 2014-04-02 乐视致新电子科技(天津)有限公司 Frame rate conversion control method and device
CN104301736A (en) * 2014-10-13 2015-01-21 上海交通大学 A UHD frame rate up-conversion system that reduces memory bandwidth requirements
CN105657541A (en) * 2015-12-29 2016-06-08 华为技术有限公司 Frame processing method and device
CN105828106A (en) * 2016-04-15 2016-08-03 山东大学苏州研究院 Non-integral multiple frame rate improving method based on motion information
CN106375772A (en) * 2016-08-29 2017-02-01 北京小米移动软件有限公司 Video playing method and device
CN106454378A (en) * 2016-09-07 2017-02-22 中山大学 Frame rate up-conversion video coding method based on deformation movement model and system
CN107707916A (en) * 2017-09-30 2018-02-16 河海大学 A kind of frame per second transfer algorithm based on scene change detecte
CN109429067A (en) * 2017-08-31 2019-03-05 腾讯科技(深圳)有限公司 Dynamic picture compression method and device, computer equipment and storage medium
CN109725729A (en) * 2019-01-02 2019-05-07 京东方科技集团股份有限公司 Image processing method and image control apparatus, display control unit and display device
CN109756778A (en) * 2018-12-06 2019-05-14 中国人民解放军陆军工程大学 frame rate conversion method based on self-adaptive motion compensation
CN109803175A (en) * 2019-03-12 2019-05-24 京东方科技集团股份有限公司 Method for processing video frequency and device, equipment, storage medium
CN110896492A (en) * 2018-09-13 2020-03-20 传线网络科技(上海)有限公司 Image processing method, device and storage medium
CN111050168A (en) * 2019-12-27 2020-04-21 浙江大华技术股份有限公司 Affine prediction method and related device thereof
CN111277895A (en) * 2018-12-05 2020-06-12 阿里巴巴集团控股有限公司 Video frame interpolation method and device
CN111726636A (en) * 2019-03-18 2020-09-29 四川大学 A HEVC Coding Optimization Method Based on Time Domain Downsampling and Frame Rate Upconversion
WO2022143078A1 (en) * 2020-12-28 2022-07-07 深圳创维-Rgb电子有限公司 Video automatic motion compensation method, apparatus, and device, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000011863A1 (en) * 1998-08-21 2000-03-02 Koninklijke Philips Electronics N.V. Problem area location in an image signal
CN1922873A (en) * 2004-02-23 2007-02-28 皇家飞利浦电子股份有限公司 Reducing artefacts in scan-rate conversion of image signals by combining interpolation and extrapolation of images
CN101621693A (en) * 2009-07-31 2010-01-06 重庆大学 Frame frequency lifting method for combining target partition and irregular block compensation
CN101626508A (en) * 2008-07-11 2010-01-13 宝利微电子系统控股公司 Method for judging blockage area in frame rate promotion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000011863A1 (en) * 1998-08-21 2000-03-02 Koninklijke Philips Electronics N.V. Problem area location in an image signal
CN1922873A (en) * 2004-02-23 2007-02-28 皇家飞利浦电子股份有限公司 Reducing artefacts in scan-rate conversion of image signals by combining interpolation and extrapolation of images
CN101626508A (en) * 2008-07-11 2010-01-13 宝利微电子系统控股公司 Method for judging blockage area in frame rate promotion
CN101621693A (en) * 2009-07-31 2010-01-06 重庆大学 Frame frequency lifting method for combining target partition and irregular block compensation

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103702059A (en) * 2013-12-06 2014-04-02 乐视致新电子科技(天津)有限公司 Frame rate conversion control method and device
CN103702059B (en) * 2013-12-06 2018-01-30 乐视致新电子科技(天津)有限公司 A kind of frame rate conversion control method and device
CN104301736A (en) * 2014-10-13 2015-01-21 上海交通大学 A UHD frame rate up-conversion system that reduces memory bandwidth requirements
CN104301736B (en) * 2014-10-13 2017-08-01 上海交通大学 A UHD frame rate up-conversion system that reduces memory bandwidth requirements
CN105657541A (en) * 2015-12-29 2016-06-08 华为技术有限公司 Frame processing method and device
CN105828106A (en) * 2016-04-15 2016-08-03 山东大学苏州研究院 Non-integral multiple frame rate improving method based on motion information
CN105828106B (en) * 2016-04-15 2019-01-04 山东大学苏州研究院 A kind of non-integral multiple frame per second method for improving based on motion information
CN106375772A (en) * 2016-08-29 2017-02-01 北京小米移动软件有限公司 Video playing method and device
CN106375772B (en) * 2016-08-29 2019-10-01 北京小米移动软件有限公司 Video broadcasting method and device
CN106454378A (en) * 2016-09-07 2017-02-22 中山大学 Frame rate up-conversion video coding method based on deformation movement model and system
CN106454378B (en) * 2016-09-07 2019-01-29 中山大学 Converting video coding method and system in a kind of frame per second based on amoeboid movement model
CN109429067B (en) * 2017-08-31 2022-10-25 腾讯科技(深圳)有限公司 Dynamic picture compression method and device, computer equipment and storage medium
CN109429067A (en) * 2017-08-31 2019-03-05 腾讯科技(深圳)有限公司 Dynamic picture compression method and device, computer equipment and storage medium
CN107707916A (en) * 2017-09-30 2018-02-16 河海大学 A kind of frame per second transfer algorithm based on scene change detecte
CN110896492A (en) * 2018-09-13 2020-03-20 传线网络科技(上海)有限公司 Image processing method, device and storage medium
CN110896492B (en) * 2018-09-13 2022-01-28 阿里巴巴(中国)有限公司 Image processing method, device and storage medium
CN111277895A (en) * 2018-12-05 2020-06-12 阿里巴巴集团控股有限公司 Video frame interpolation method and device
CN111277895B (en) * 2018-12-05 2022-09-27 阿里巴巴集团控股有限公司 Video frame interpolation method and device
CN109756778A (en) * 2018-12-06 2019-05-14 中国人民解放军陆军工程大学 frame rate conversion method based on self-adaptive motion compensation
US11317054B2 (en) 2019-01-02 2022-04-26 Beijing Boe Optoelectronics Technology Co., Ltd. Video processing method, video processing control apparatus and display control apparatus and display apparatus
CN109725729A (en) * 2019-01-02 2019-05-07 京东方科技集团股份有限公司 Image processing method and image control apparatus, display control unit and display device
CN109803175A (en) * 2019-03-12 2019-05-24 京东方科技集团股份有限公司 Method for processing video frequency and device, equipment, storage medium
CN109803175B (en) * 2019-03-12 2021-03-26 京东方科技集团股份有限公司 Video processing method and device, video processing equipment and storage medium
CN111726636A (en) * 2019-03-18 2020-09-29 四川大学 A HEVC Coding Optimization Method Based on Time Domain Downsampling and Frame Rate Upconversion
CN111050168A (en) * 2019-12-27 2020-04-21 浙江大华技术股份有限公司 Affine prediction method and related device thereof
CN111050168B (en) * 2019-12-27 2021-07-13 浙江大华技术股份有限公司 Affine prediction method and related device thereof
WO2022143078A1 (en) * 2020-12-28 2022-07-07 深圳创维-Rgb电子有限公司 Video automatic motion compensation method, apparatus, and device, and storage medium

Similar Documents

Publication Publication Date Title
CN102665061A (en) Motion vector processing-based frame rate up-conversion method and device
CN103220488B (en) Conversion equipment and method on a kind of video frame rate
KR101536794B1 (en) Image interpolation with halo reduction
CN103702128B (en) An Interpolation Frame Generation Method Applied to Video Frame Rate Up-conversion
CN104219533B (en) A kind of bi-directional motion estimation method and up-conversion method of video frame rate and system
JP6352173B2 (en) Preprocessor method and apparatus
US20100201870A1 (en) System and method for frame interpolation for a compressed video bitstream
KR20070011563A (en) Method and apparatus for motion compensated frame rate upconversion
CN102868879B (en) Method and system for converting video frame rate
US20100309372A1 (en) Method And System For Motion Compensated Video De-Interlacing
JP2000134585A (en) Motion vector deciding method and method and circuit for number of frames of image signal conversion
JP2009532741A6 (en) Preprocessor method and apparatus
CN103051857B (en) Motion compensation-based 1/4 pixel precision video image deinterlacing method
US20080151106A1 (en) Reducing Artefacts In Scan-Rate Conversion Of Image Signals By Combining Interpolation And Extrapolation Of Images
CN108574844B (en) Multi-strategy video frame rate improving method for space-time significant perception
CN101299818B (en) N-level sub-pixel search method based on integer pixel search results
WO2010109564A1 (en) Image encoding apparatus and image encoding method
TWI850252B (en) Partial interweaved prediction
US20090060056A1 (en) Method and apparatus for concealing errors in a video decoding process
CN111294545A (en) Image data interpolation method and device, storage medium and terminal
JP4440233B2 (en) Error concealment method and apparatus
Zhao et al. Frame rate up-conversion based on edge information
KR0185841B1 (en) A motion extimator for a video coder
JP4222274B2 (en) Encoding mode selection device and encoding mode selection program
CN109788297A (en) A Video Frame Rate Up-Conversion Method Based on Cellular Automata

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120912