+

CN101860754B - Method and device for encoding and decoding motion vectors - Google Patents

Method and device for encoding and decoding motion vectors Download PDF

Info

Publication number
CN101860754B
CN101860754B CN2010101742829A CN201010174282A CN101860754B CN 101860754 B CN101860754 B CN 101860754B CN 2010101742829 A CN2010101742829 A CN 2010101742829A CN 201010174282 A CN201010174282 A CN 201010174282A CN 101860754 B CN101860754 B CN 101860754B
Authority
CN
China
Prior art keywords
motion vector
predictor
fallout predictor
template
module
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.)
Expired - Fee Related
Application number
CN2010101742829A
Other languages
Chinese (zh)
Other versions
CN101860754A (en
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.)
Hong Kong Applied Science and Technology Research Institute ASTRI
Original Assignee
Hong Kong Applied Science and Technology Research Institute ASTRI
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 Hong Kong Applied Science and Technology Research Institute ASTRI filed Critical Hong Kong Applied Science and Technology Research Institute ASTRI
Publication of CN101860754A publication Critical patent/CN101860754A/en
Application granted granted Critical
Publication of CN101860754B publication Critical patent/CN101860754B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The present invention relates to a video encoding method. In particular, it relates to Motion Vector (MV) coding, wherein MV coding is based on edge matching or adaptive template matching, i.e. motion vector coding based on boundary matching (MVCBM) and motion vector coding based on adaptive template matching (mvcmta). In general, the present disclosure defines a prediction candidate set, where the predictor adaptively changes based on the current distribution of neighboring MVs. Subsequently, matching techniques (boundary matching in MVCBM and adaptive template matching in mvcmat) are used to reduce the size of the prediction candidate set to reduce the number of bits used for indexing. Then, the optimal motion vector predictor is selected among the predictors included in the reduced set. The guessing strategy based on the minimum MVD standard further saves the number of index bits.

Description

运动矢量编码和解码的方法和装置Method and device for encoding and decoding motion vectors

技术领域 technical field

本发明一般来说涉及数字视频处理。特别地,本发明涉及包括编码与解码运动矢量编码的方法和装置。The present invention relates generally to digital video processing. In particular, the present invention relates to methods and apparatus including encoding and decoding motion vector encoding.

背景技术 Background technique

运动估计(Motion estimation,简称ME)与运动补偿(Motioncompensation,简称MC)是现代视频编码标准(如MPEG-1、MPEG-2、MPEG-4、H.261、H.263、H.264和AVS)中的重要工具,以压制时间冗余,从而达到高编码效率。在ME/MC中,当前帧被分为不重叠的区块。对于当前帧中的每个当前块,在参考帧中限定搜索区。搜索区中的每一点对应于一个候选块,该候选块潜在地是当前块的良好预测。限定相似性度量并且在搜索区进行搜索以基于相似性度量查找候选块,该候选块与当前块的相似性即使不是最大,也是很大。该具有最大相似性的候选块将是最佳匹配块。最佳匹配快与当前块之间的相对位移被称为运动矢量,其需要被编码。运动矢量(motion vector,简称MV)的编码也被称为运动矢量编码(motion vectorcoding,简称MVC)。Motion estimation (ME for short) and motion compensation (MC for short) are modern video coding standards (such as MPEG-1, MPEG-2, MPEG-4, H.261, H.263, H.264 and AVS ) to suppress time redundancy and achieve high coding efficiency. In ME/MC, the current frame is divided into non-overlapping blocks. For each current block in the current frame, a search area is defined in the reference frame. Each point in the search area corresponds to a candidate block that is potentially a good predictor of the current block. A similarity measure is defined and a search area is searched to find, based on the similarity measure, a candidate block that has a high, if not maximum, similarity to the current block. The candidate block with the greatest similarity will be the best matching block. The relative displacement between the best matching block and the current block is called a motion vector, which needs to be coded. Coding of motion vector (MV for short) is also called motion vector coding (MVC for short).

另一方面,为了解码端实现运动补偿,编码端需要耗费大量的比特流用于传递运动矢量信息。例如在H.264中,当比特率很低(例如QP=40)时,运动矢量信息所耗费的比特数目占总编码数目的百分比很高,甚至达到50%。所以本领域迫切需要更有效的方法进行运动矢量编码来提高其编码效率。On the other hand, in order to implement motion compensation at the decoding end, the encoding end needs to consume a large amount of bit streams for transmitting motion vector information. For example, in H.264, when the bit rate is very low (for example, QP=40), the number of bits consumed by the motion vector information accounts for a high percentage of the total coding number, even up to 50%. Therefore, there is an urgent need in this field for a more effective method for motion vector coding to improve its coding efficiency.

在最新的运动矢量编码方法中,引入了许多工具以提高运动矢量编码的效率。例如,为了减小运动矢量的压缩位的数量,H.264标准利用简单的预测编码技术编码运动矢量。对于每个当前块,H.264利用三个相邻的运动矢量(MV)的中间的一个构成运动矢量预测器(motion vector predictor,简称MVP)。MVP与当前块的真实MV的运动矢量差(motion vector difference,简称MVD)被编码到位流中。该“中间MVP”有效地减少用于MV编码的位,因为其在大多数情况下类似于当前块的真实MV。但是,中间MVP并不能总是最优地预测当前MV。需要更有效的MVP以进一步减少用于MV的编码位数。In the latest motion vector coding methods, many tools are introduced to improve the efficiency of motion vector coding. For example, in order to reduce the number of compressed bits for motion vectors, the H.264 standard encodes motion vectors using a simple predictive coding technique. For each current block, H.264 uses one of the three adjacent motion vectors (MV) to form a motion vector predictor (MVP for short). The motion vector difference (motion vector difference, MVD for short) between the MVP and the real MV of the current block is encoded into the bitstream. This "intermediate MVP" effectively reduces the bits used for MV encoding, since it is similar to the real MV of the current block in most cases. However, the intermediate MVP does not always optimally predict the current MV. More efficient MVPs are needed to further reduce the number of coding bits used for MVs.

还曾有过其他方法试图获得有效的运动矢量编码。例如,在以下公开文件中有所记载:S.Kamp、M.Evertz和M.Wien的“Decoder side motion vectorderivation for inter frame video coding”,出自IEEE国际图像处理会议(IEEEInternational Conference on Image Processing),pp.1120-1123,2008,(以下称为“S.Kamp等人的文章”)以及第7,023,919号、名称为“Method for coding motionvector using 2-dimentional minimum bitrate predicting technique”的美国专利。There have been other attempts to achieve efficient motion vector coding. For example, it is documented in the following public document: "Decoder side motion vector derivation for inter frame video coding" by S. Kamp, M. Evertz and M. Wien, IEEE International Conference on Image Processing, pp .1120-1123, 2008, (hereinafter referred to as "S. Kamp et al. article") and US Patent No. 7,023,919 entitled "Method for coding motionvector using 2-dimentional minimum bitrate predicting technique".

在S.Kamp等人的文章中,说明了一种获取运动矢量的方法。该方法在解码端执行类似运动估计的方法以取得运动矢量和参考索引。但是,该方法不能自适应地改变MV预测器候选集,并且该方法放弃使用现有精确的ME方法来获得MV而是直接在解码端用不是非常准确的模板匹配方式来获得MV,并且该方法中没有使用猜测策略。此外,模板匹配使用固定大小和形状的模板。该方法中没有使用参考索引或MVD。总的来说,该方法十分复杂,并且使用模板匹配得到MV和参考索引自身并不总是可靠的。In the article by S. Kamp et al., a method for obtaining motion vectors is described. This method performs motion estimation-like methods at the decoder to obtain motion vectors and reference indices. However, this method cannot adaptively change the MV predictor candidate set, and this method abandons the use of the existing accurate ME method to obtain the MV but directly obtains the MV with a not very accurate template matching method at the decoding end, and the method No guessing strategy is used in . Furthermore, template matching uses templates of fixed size and shape. No reference index or MVD is used in this method. In general, the method is quite complicated, and MV and reference index using template matching are not always reliable by themselves.

在第7023919号美国专利申请中,说明了一种运动矢量编码的方法。该方法没有使用匹配技术减少MV预测器候选集,也没有提供自适应候选集。即使使用猜测策略,其基于最小位速率而非最小MVD。该方法中并没有将基于时间的MV预测器用作候选。该方法缺乏效率,特别是在MVD很小的情况下更是如此。另外不同的MVD可能具有相同的位速率,使得基于最小位速率的标准缺乏效率。In US Patent Application No. 7023919, a method of motion vector coding is described. This method does not use matching techniques to reduce the MV predictor candidate set, nor does it provide an adaptive candidate set. Even if a guessing strategy is used, it is based on the minimum bit rate and not the minimum MVD. No temporal-based MV predictors are used as candidates in this approach. This method lacks efficiency, especially if the MVD is small. Also different MVDs may have the same bit rate, making a minimum bit rate based criterion inefficient.

还有别的方法利用边界匹配进行了尝试。例如在以下公开文件中:YanChen,Yang Hu,Oscar C.Au,Houqiang Li,Chang Wen Chen的“Video ErrorConcealment Using Spatio-Temporal Boundary Matching and Partial DifferentialEquation”,IEEE多媒体学报(IEEE TRANSACTIONS ON MULTIMEDIA),VOL.10,NO.1,2008年1月(以下称为“Yan Chen等人的文章”),以及第5,596,370号、名称为“Boundary matching motion estimation apparatus”的美国专利。Still other methods have been tried using boundary matching. For example in the following public documents: "Video Error Concealment Using Spatio-Temporal Boundary Matching and Partial Differential Equation" by Yan Chen, Yang Hu, Oscar C.Au, Houqiang Li, Chang Wen Chen, IEEE TRANSACTIONS ON MULTIMEDIA, VOL. 10, NO.1, January 2008 (hereinafter referred to as "Yan Chen et al. article"), and US Patent No. 5,596,370 entitled "Boundary matching motion estimation apparatus".

在Yan Chen等人的文章中,提供了一种用于隐藏视频信号中的错误的系统和方法。边界匹配仅限于用于错误隐藏。该公开的方法没有指出利用边界匹配选择可以提高MV预测器的准确度从而减小MVD,也没有利用从编码端精确运动估计中获得的现有MV。此外,本方法中没有使用模板匹配。该方法的缺点是利用边界匹配以获得MV本身并不总是可靠的。In Yan Chen et al., a system and method for concealing errors in a video signal is provided. Boundary matching is limited to error concealment. The disclosed method does not point out that using boundary matching selection can improve the accuracy of the MV predictor to reduce the MVD, nor does it utilize the existing MV obtained from the precise motion estimation at the encoder side. Also, no template matching is used in this method. The disadvantage of this method is that using boundary matching to obtain MV itself is not always reliable.

在第5,596,370号美国专利中,提供了一种进行运动估计的装置。边界匹配仅限于获取运动矢量,本方法的目的是提供一种运动估计的替代方法。该方法没有使用在编码端运动估计中获得的MV,缺点在于利用边界匹配而非运动估计获得MV本身并不总是可靠的。边界匹配仅限于用以得到运动矢量,该方法并未给出运动矢量编码的信息。由于并没有自适应候选设置,所以该方式没有效率,并且该方法不考虑其他匹配技术,例如自适应模板匹配。In US Patent No. 5,596,370, an apparatus for motion estimation is provided. Boundary matching is limited to obtaining motion vectors, and the purpose of this method is to provide an alternative to motion estimation. This method does not use the MV obtained in the motion estimation at the encoder, and the disadvantage is that obtaining the MV itself using boundary matching instead of motion estimation is not always reliable. Boundary matching is only used to obtain motion vectors, and this method does not give the information of motion vector encoding. This approach is not efficient since there is no adaptive candidate set, and the method does not consider other matching techniques such as adaptive template matching.

因而,需要提供一种运动矢量编码的系统和方法,以解决上述一个或多个问题。Therefore, it is necessary to provide a motion vector encoding system and method to solve one or more of the above problems.

有关视频编码的其他背景技术可以参照一下文件:Iain Richardson的H.264and M-PEG-4VideoCompression,Wiley&Sons,

Figure GSA00000108193400031
2003以及Alan Bovik的The Essential Guide to Video Processing,Academic Press
Figure GSA00000108193400032
2009。这些公开的文件都作为参考被引入其中。For other background technologies related to video coding, please refer to the document: Iain Richardson's H.264and M-PEG-4VideoCompression, Wiley&Sons,
Figure GSA00000108193400031
2003 and The Essential Guide to Video Processing by Alan Bovik, Academic Press
Figure GSA00000108193400032
2009. These published documents are hereby incorporated by reference.

发明内容 Contents of the invention

鉴于上述,本发明需要一种运动矢量编码和解码的方法和装置,以克服上述技术中的方法效率低、可靠性差的问题。In view of the above, the present invention needs a method and device for encoding and decoding motion vectors to overcome the problems of low efficiency and poor reliability of the methods in the above technologies.

具体地,本发明提供了一种运动矢量编码方法,包括以下步骤:Specifically, the present invention provides a motion vector encoding method, comprising the following steps:

步骤1:限定预测器的候选集,其中所述预测器基于与所述运动矢量相邻的运动矢量自适应的变化;Step 1: defining a candidate set of predictors based on adaptive changes in motion vectors adjacent to the motion vector;

步骤2:利用匹配方法减少所述候选集中的预测器的数目以减少索引使用的位数;Step 2: using a matching method to reduce the number of predictors in the candidate set to reduce the number of bits used by the index;

步骤3:基于最小运动矢量差的标准在所述候选集中的剩余预测器中选定最优的预测器,并得到当前运动矢量差;Step 3: Select the best predictor among the remaining predictors in the candidate set based on the minimum motion vector difference criterion, and obtain the current motion vector difference;

步骤4:基于剩余预测器和当前运动矢量差,利用猜测策略探测运动矢量预测器以进一步节约用于编码索引的位数;Step 4: Based on the difference between the residual predictor and the current motion vector, use a guessing strategy to detect the motion vector predictor to further save the number of bits used to encode the index;

步骤5:判断是否能探测到正确的运动矢量预测器,如果探测到正确的运动矢量预测器,则编码至少当前运动矢量差,如果无法探测到正确的运动矢量预测器,则对至少当前运动矢量差和索引进行编码。Step 5: Judging whether the correct motion vector predictor can be detected, if the correct motion vector predictor is detected, encode at least the current motion vector difference, if the correct motion vector predictor cannot be detected, encode at least the current motion vector The difference and index are encoded.

其中,所述匹配方法为边界匹配方法或自适应模板匹配方法。Wherein, the matching method is a boundary matching method or an adaptive template matching method.

其中,所述边界匹配方法为,将对应于所述候选集中的预测器的一部分数据粘贴到当前数据空间,得到边界匹配误差,去除所述候选集中边界匹配误差最大的一个或多个预测器。Wherein, the boundary matching method is to paste a part of data corresponding to the predictors in the candidate set into the current data space to obtain a boundary matching error, and remove one or more predictors with the largest boundary matching error in the candidate set.

其中,所述自适应模板匹配方法为,基于自适应模板与当前数据之间可能的相关性确定用于当前数据空间的自适应模板的形状;或者基于自适应模板内的一致性确定用于当前数据空间的自适应模板的尺寸。Wherein, the adaptive template matching method is to determine the shape of the adaptive template for the current data space based on the possible correlation between the adaptive template and the current data; or determine the shape of the adaptive template for the current data space based on the consistency in the adaptive template. Dimensions of the adaptive template for the data space.

其中,所述自适应模板匹配方法还包括利用基于候选集中预测器对应的位移,计算当前数据空间的模板与参考画面中位移后的数据空间的模板之间的差。Wherein, the adaptive template matching method further includes calculating the difference between the template in the current data space and the template in the shifted data space in the reference picture by using the displacement corresponding to the predictor in the candidate set.

其中,自适应模板匹配方法中,所述自适应模板的宽度和形状已指定。Wherein, in the adaptive template matching method, the width and shape of the adaptive template have been specified.

其中,所述步骤5之后,如果探测到正确的运动矢量预测器,则发送至少已编码的当前运动矢量差;如果无法探测到正确的运动矢量预测器,则发送至少已编码的当前运动矢量差和已编码的作为索引的位。Wherein, after the step 5, if the correct motion vector predictor is detected, at least the encoded current motion vector difference is sent; if the correct motion vector predictor cannot be detected, at least the encoded current motion vector difference is sent and encoded bits as indices.

其中,所述预测器的候选集包括若干成比例的空间和时间预测器。Wherein, the candidate set of predictors includes several proportional spatial and temporal predictors.

其中,所述步骤1中,与所述运动矢量相邻的运动矢量为与所述运动矢量时间相邻、空间相邻、时间与空间相邻或基于分析策略相邻的运动矢量。Wherein, in the step 1, the motion vector adjacent to the motion vector is a motion vector adjacent to the motion vector in time, space, time and space, or based on an analysis strategy.

其中,步骤4中的猜测策略,所述剩余预测器的数目至少为1个,对每个剩余预测器和当前运动矢量差产生一个中间参数,基于最小运动矢量差的标准为每个中间参数重新选择待选的预测器,如果重新选择的待选的预测器与产生该中间参数的剩余预测器相同,则判定该剩余预测器为可选预测器,如果可选预测器的数目为1个,则该可选预测器为正确的运动矢量预测器。Wherein, in the guessing strategy in step 4, the number of the remaining predictors is at least 1, and an intermediate parameter is generated for each remaining predictor and the current motion vector difference, and each intermediate parameter is regenerated based on the minimum motion vector difference criterion Select the predictor to be selected, if the reselected predictor to be selected is the same as the remaining predictor that generates the intermediate parameter, then determine that the remaining predictor is an optional predictor, if the number of optional predictors is 1, Then the alternative predictor is the correct motion vector predictor.

本发明还提供了一种解码已编码的运动矢量的方法,所述已编码的运动矢量被如权利要求1所述的方法编码,包括以下步骤:The present invention also provides a method of decoding encoded motion vectors encoded by the method of claim 1, comprising the steps of:

步骤1:解码运动矢量差;Step 1: Decoding the motion vector difference;

步骤2:限定预测器的候选集,其中所述预测器基于与所述运动矢量相邻的运动矢量自适应的变化;Step 2: defining a candidate set of predictors based on adaptive changes in motion vectors adjacent to the motion vector;

步骤3:利用匹配方法减少所述候选集中的预测器的数目;Step 3: using a matching method to reduce the number of predictors in the candidate set;

步骤4:基于所述候选集中的剩余预测器和解码的运动矢量差,利用猜测策略判断能否确定运动矢量预测器;Step 4: Based on the remaining predictors in the candidate set and the decoded motion vector difference, use a guessing strategy to determine whether the motion vector predictor can be determined;

步骤5:如果能确定运动矢量预测器,则利用解码的运动矢量差和已确定的运动矢量预测器得到运动矢量;如果不能确定运动矢量预测器,则解码索引并判定运动矢量预测器,利用解码的运动矢量差和已判定的运动矢量预测器得到运动矢量。Step 5: If the motion vector predictor can be determined, use the decoded motion vector difference and the determined motion vector predictor to obtain the motion vector; if the motion vector predictor cannot be determined, decode the index and determine the motion vector predictor, use the decoded The motion vector difference and the determined motion vector predictor get the motion vector.

所述匹配方法与编码时采用的匹配方法相同。The matching method is the same as that used in encoding.

本发明还提供了一种运动矢量编码装置,包括以下部分:The present invention also provides a motion vector encoding device, which includes the following parts:

第一选择模块,用以选择组成候选集的预测器;The first selection module is used to select the predictors that form the candidate set;

第一处理模块,接收所述第一选择模块的预测器的候选集,用以利用匹配方法减少所述候选集中的预测器的数目;The first processing module receives the candidate set of predictors of the first selection module, and uses a matching method to reduce the number of predictors in the candidate set;

第二选择模块,与所述第一处理模块连接,接收所述候选集中的剩余预测器,基于最小运动矢量差的标准在所述剩余预测器中选定最优的预测器;The second selection module is connected to the first processing module, receives the remaining predictors in the candidate set, and selects the optimal predictor among the remaining predictors based on the minimum motion vector difference criterion;

第二处理模块,与所述第二选择模块连接,根据选定的最优的预测器得到当前运动矢量差;The second processing module is connected to the second selection module, and obtains the current motion vector difference according to the selected optimal predictor;

探测模块,与所述第二处理模块和第一处理模块连接,基于接收的所述候选集中的剩余预测器和当前运动矢量差,利用猜测策略探测运动矢量预测器;A detection module, connected to the second processing module and the first processing module, detects a motion vector predictor using a guessing strategy based on the received remaining predictors in the candidate set and the current motion vector difference;

判断模块,与所述探测模块连接,如果探测模块的探测结果为探测到正确的运动矢量预测器,则将判断结果发送到编码模块;A judgment module, connected to the detection module, if the detection result of the detection module is that a correct motion vector predictor is detected, the judgment result is sent to the encoding module;

编码模块,接收所述判断结果,编码至少当前运动矢量差或者编码至少当前运动矢量差和索引。The encoding module receives the determination result, and encodes at least the current motion vector difference or encodes at least the current motion vector difference and an index.

本发明还提供了一种运动矢量解码装置,包括以下部分:The present invention also provides a motion vector decoding device, which includes the following parts:

接收模块,接收至少已编码的运动矢量差;a receiving module, receiving at least the encoded motion vector difference;

第一解码模块,连接所述接收模块,根据接收的至少已编码的运动矢量差,解码运动矢量差;The first decoding module is connected to the receiving module, and decodes the motion vector difference according to the received at least coded motion vector difference;

第一选择模块,用以选择组成候选集的预测器;The first selection module is used to select the predictors that form the candidate set;

第一处理模块,接收所述第一选择模块的预测器的候选集,用以利用匹配方法减少所述候选集中的预测器的数目;The first processing module receives the candidate set of predictors of the first selection module, and uses a matching method to reduce the number of predictors in the candidate set;

判断模块,连接所述第一处理模块与所述第一解码模块,基于所述候选集中的剩余预测器和解码的运动矢量差,利用猜测策略判断能否确定运动矢量预测器;A judging module, connected to the first processing module and the first decoding module, based on the remaining predictors in the candidate set and the decoded motion vector difference, using a guessing strategy to judge whether the motion vector predictor can be determined;

第二解码模块,连接所述判断模块,根据所述判断结果解码索引;The second decoding module is connected to the judgment module, and decodes the index according to the judgment result;

分析模块,连接所述第一处理模块和第二解码模块,根据解码的索引判定运动矢量预测器;An analysis module, connected to the first processing module and the second decoding module, determines the motion vector predictor according to the decoded index;

第二处理模块,连接所述判断模块、所述第一解码模块和所述分析模块,根据判断结果,利用解码的运动矢量差和已解码确定的运动矢量预测器得到运动矢量;或者利用解码的运动矢量差和已判定的运动矢量预测器得到运动矢量。The second processing module is connected to the judgment module, the first decoding module and the analysis module, and according to the judgment result, obtains the motion vector by using the decoded motion vector difference and the decoded and determined motion vector predictor; or by using the decoded The motion vector difference and the determined motion vector predictor result in the motion vector.

本发明提供的运动矢量编码和解码的方法可以迅速、可靠、有效地对运动矢量进行编解码的处理,提高了系统的效率。并且本发明可用于任何采用运动估计的视频编码系统,并且需要将运动信息发送到解码器,例如但不限于H.264、KTA、AVS、MPEG。此外,本发明还可用于任何采用混合预测编码的编码器。The motion vector encoding and decoding method provided by the invention can rapidly, reliably and effectively encode and decode the motion vector, thereby improving the efficiency of the system. And the present invention can be used in any video coding system that employs motion estimation and needs to send motion information to the decoder, such as but not limited to H.264, KTA, AVS, MPEG. Furthermore, the invention can be applied to any coder using hybrid predictive coding.

通过以下说明的实施例,还公开了本发明的其他方面。Other aspects of the present invention are also disclosed through the examples described below.

附图说明 Description of drawings

下面将参考附图,详细说明本发明的这些以及其他目的、方面和实施方式,其中:These and other objects, aspects and embodiments of the present invention will be described in detail below with reference to the accompanying drawings, in which:

图1表示根据本发明实施例的当前块及其相邻块的示范性表示。Fig. 1 shows an exemplary representation of a current block and its neighboring blocks according to an embodiment of the invention.

图2表示根据本发明实施例的块的内部边界像素和外部边界像素。Fig. 2 shows inner boundary pixels and outer boundary pixels of a block according to an embodiment of the invention.

图3表示根据本发明实施例的模板匹配的示范性模板。Fig. 3 shows an exemplary template for template matching according to an embodiment of the present invention.

图4表示根据本发明实施例的模板宽度等于4的示范性模板。FIG. 4 shows an exemplary template with a template width equal to 4, according to an embodiment of the present invention.

图5表示根据本发明实施例的MVCBM的流程图。Fig. 5 shows a flowchart of an MVCBM according to an embodiment of the present invention.

图6表示根据本发明实施例的MVCATM的流程图。FIG. 6 shows a flowchart of MVCATM according to an embodiment of the present invention.

图7表示根据本发明实施例的一个视频编码系统的实施例的方框图。FIG. 7 shows a block diagram of an embodiment of a video encoding system according to an embodiment of the present invention.

图8表示根据本发明实施例的一个视频解码系统的实施例的方框图。FIG. 8 shows a block diagram of an embodiment of a video decoding system according to an embodiment of the present invention.

图9表示根据本发明实施例的运动矢量编码装置的示意图。Fig. 9 shows a schematic diagram of a motion vector encoding device according to an embodiment of the present invention.

图10表示根据本发明实施例的运动矢量解码装置的示意图。Fig. 10 shows a schematic diagram of a motion vector decoding device according to an embodiment of the present invention.

具体实施方式 Detailed ways

本发明涉及视频编码方法。特别地,其涉及运动矢量(MV)编码,其中MV编码基于边界匹配或自适应模板匹配,也就是基于边界匹配的运动矢量编码(MVCBM)和基于自适应模板匹配的运动矢量编码(MVCATM)。一般来说,本发明限定预测器候选集,其中预测器基于相邻MV的当前分布自适应地变化。随后,匹配技术(MVCBM中的边界匹配和MVCATM中的自适应模板匹配)用于减小预测器候选集的大小以减少索引使用的编码位数。而后,在包含于减少的集之中的预测器中选择最优的运动矢量预测器。基于最小MVD标准的猜测策略进一步节约了索引的位数。The present invention relates to video encoding methods. In particular, it relates to motion vector (MV) coding, where MV coding is based on boundary matching or adaptive template matching, namely motion vector coding based on boundary matching (MVCBM) and motion vector coding based on adaptive template matching (MVCATM). In general, the present invention defines a candidate set of predictors, where the predictors vary adaptively based on the current distribution of neighboring MVs. Subsequently, matching techniques (boundary matching in MVCBM and adaptive template matching in MVCATM) are used to reduce the size of the predictor candidate set to reduce the number of coding bits used by the index. Then, the optimal motion vector predictor is selected among the predictors included in the reduced set. The guessing strategy based on the minimum MVD criterion further saves the number of bits in the index.

具体地,可能的MVP候选集包括若干成比例的空间和时间预测器。为了增加预测器的多样性,空间预测器基于相邻运动矢量的特征自适应地改变。为了从候选集(CS)中选择良好的预测器,使用的匹配技术例如但不限于边界匹配(BM)和自适应模板匹配(ATM)。从通过匹配技术选出的预测器中选择当前块的最优MVP以使MVD最小。由于最优MVP是基于最小MVD的标准选出,所以引入猜测策略,从而在一些情况下可以节省将MVP索引信号传输到解码器的比特数。本发明相对于H.264标准可以显著地降低位速率。Specifically, the set of possible MVP candidates includes several proportional spatial and temporal predictors. To increase the diversity of the predictors, the spatial predictors are adaptively changed based on the characteristics of neighboring motion vectors. To select a good predictor from the candidate set (CS), matching techniques such as but not limited to boundary matching (BM) and adaptive template matching (ATM) are used. The optimal MVP of the current block is selected from the predictors selected by the matching technique to minimize the MVD. Since the optimal MVP is selected based on the minimum MVD criterion, a guessing strategy is introduced, which can save the number of bits for signaling the MVP index to the decoder in some cases. The present invention can significantly reduce the bit rate relative to the H.264 standard.

A.成比例的运动矢量预测器A. Scaled Motion Vector Predictor

相邻块的运动矢量被用作当前块的运动矢量的预测器。相邻块的运动矢量可以对应实施例中的不同参考帧,该实施例中允许例如H.264中的多个参考帧。两个相邻的块的运动矢量对应不同的参考帧时,其时间距离相对当前帧而言是不同的。因而在使用多个参考帧的实施例中,在被用作预测当前块的运动矢量之前,相邻块的运动矢量根据其时间距离被成比例地缩放。图1表示当前块及其相邻块的示范性表示。以mvA(当前块的左侧的块A的MV)为例,假设块A与其参考块之间的时间距离是dp,当前块与其参考块之间的时间距离是dc。由以下方式计算成比例的预测器mvSA The motion vectors of neighboring blocks are used as predictors for the motion vector of the current block. The motion vectors of neighboring blocks may correspond to different reference frames in an embodiment which allows multiple reference frames eg in H.264. When motion vectors of two adjacent blocks correspond to different reference frames, their temporal distances are different relative to the current frame. Thus in embodiments using multiple reference frames, the motion vectors of neighboring blocks are scaled proportionally according to their temporal distance before being used to predict the motion vector of the current block. Figure 1 shows an exemplary representation of a current block and its neighboring blocks. Taking mv A (the MV of block A on the left of the current block) as an example, it is assumed that the temporal distance between block A and its reference block is d p , and the temporal distance between the current block and its reference block is d c . The proportional predictor mv SA is computed by

mm vv SASA == mvmv AA ×× dd cc dd pp -- -- -- (( 11 ))

利用相同的方法可以计算块B的mvSB,块C的mvSC等。因此,每个预测器在使用之前都成比例缩放。mv SB of block B, mv SC of block C, etc. can be calculated using the same method. Therefore, each predictor is scaled before use.

B.MVP候选集B. MVP candidate set

本发明的一个方面是为数据压缩中的参数产生和表示提供预测器和编码方法,例如在视频压缩中编码运动矢量。根据相邻的数据信息自适应地选择两个或多个候选。“相邻”的数据信息包括但不限于空间相邻、时间相邻、相邻的结合和基于分析策略的相邻的一些函数。分析策略包括但不限于当前相关、分布,例如选择与其他相邻矢量不类似的相邻的运动矢量作为候选,用以在视频压缩中编码当前的运动矢量。An aspect of the present invention is to provide predictors and encoding methods for parameter generation and representation in data compression, such as encoding motion vectors in video compression. Two or more candidates are adaptively selected according to adjacent data information. "Adjacency" data information includes but not limited to spatial adjacency, time adjacency, adjacency combination and some functions of adjacency based on analysis strategies. Analysis strategies include, but are not limited to, current correlation, distribution, such as selecting neighboring motion vectors that are dissimilar to other neighboring vectors as candidates for encoding the current motion vector in video compression.

可能的MVP候选集包括若干成比例的空间和时间预测器。为了增加预测器的多样性,空间预测器基于相邻运动矢量的特征自适应地改变。The set of possible MVP candidates consists of several proportional spatial and temporal predictors. To increase the diversity of the predictors, the spatial predictors are adaptively changed based on the characteristics of neighboring motion vectors.

在一个实施例中,为了使MVP达到高准确度,MVP候选集中包括时间和空间的MVP。MVP候选集包括多个这样的MVP,其数量根据情况而变,例如但不限于5个MVP或8个MVP。In one embodiment, in order for the MVP to achieve high accuracy, the MVP candidate set includes temporal and spatial MVPs. The MVP candidate set includes a plurality of such MVPs, the number of which varies according to the situation, such as but not limited to 5 MVPs or 8 MVPs.

在进一步实施例中,对于一个给定的候选集,包括的预测器基于MVP的当前分布自适应地变化。例如,不失普遍性,候选集的尺寸被选作3,并且尺寸等于3的候选集中包括mvScol、mvSH.264和mvSnei。mvScol是根据公式(1)成比例缩放的共址MV(指在前一帧和当前块具有相同位置的块的运动矢量)。其为时间MVP候选。mvSH.264和mvSnei为空间MVP候选。In a further embodiment, for a given candidate set, the included predictors vary adaptively based on the current distribution of MVPs. For example, without loss of generality, the size of the candidate set is chosen to be 3, and the candidate set with size equal to 3 includes mv Scol , mv SH.264 and mv Snei . mv Scol is the co-located MV scaled according to formula (1) (referring to the motion vector of the block having the same location as the current block in the previous frame). It is a temporal MVP candidate. mv SH.264 and mv Snei are space MVP candidates.

mvSH.264是3个相邻的运动矢量的中间的一个(这3个相邻的运动矢量根据公式(1)成比例缩放),例如其可以从mvSA、mvSB和mvSC的中间的一个获得。mv SH.264 is the middle one of 3 adjacent motion vectors (these 3 adjacent motion vectors are scaled according to formula (1)), for example it can be from the middle of mv SA , mv SB and mv SC one gets.

mvSnei是三个成比例的相邻运动矢量mvSA、mvSB和mvSC中的一个,其离mvSH.264最远:mv Snei is one of three proportional neighbor motion vectors mv SA , mv SB and mv SC which is farthest from mv SH.264 :

mvmv SneiSnei == argarg maxmax mvmv xx || || mvmv xx -- mvmv SHSH ,, 264264 || || 22 ,, xx == SASA ,, SBSB ,, SCSC -- -- -- (( 22 ))

设置该预测器mvSnei的原因在于,在相邻的块A、B和C中仅一个属于包含当前块的对象时,试着得到更有效的MVP。在这种情况下,中间的MVP与当前块的实际MV的相关性可能很低。The reason for setting this predictor mv Snei is to try to get a more efficient MVP when only one of the neighboring blocks A, B and C belongs to the object containing the current block. In this case, the correlation between the intermediate MVP and the actual MV of the current block may be low.

所以,MVP候选集(Candidate Set,简称CS)由该具体示范性条件下的三个MVP组成,其中该条件下候选集的尺寸等于3(尺寸-3CS):Therefore, the MVP candidate set (Candidate Set, referred to as CS) is composed of three MVPs under this specific exemplary condition, wherein the size of the candidate set under this condition is equal to 3 (size-3CS):

CS={mvSH.264,mvScol,mvSnei}             (3)CS={mv SH.264 , mv Scol , mv Snei } (3)

C.CS减少和优化MVPC.CS reduce and optimize MVP

初始MVP候选集会包含许多MVP,选出的一个的索引需要许多位以说明。为了减少用于最优MVP的索引的位,减少CS以包含更少数目的预测器。一个实施例中,使用叫做边界匹配的方法。另一实施例中,使用叫做自适应模板匹配的方法。基于匹配状态使减少的候选集(Reduced CandidateSet,简称RCS)尺寸固定或可变。例如选出最佳预测器,如果后面的预测器近乎良好则也选出后面的几个良好的预测器。或者如果最好的预测器远好于其他预测器,则我们也可以仅选择最好的预测器。在该具有mvScol、mvSH.264和mvSnei的尺寸-3CS的特例中,我们可以使用尺寸为2的固定尺寸的RCS。The initial set of MVP candidates will contain many MVPs, and the index of the selected one needs many bits to specify. In order to reduce the bits used for the index of the optimal MVP, the CS is reduced to include a smaller number of predictors. In one embodiment, a method called boundary matching is used. In another embodiment, a method called adaptive template matching is used. Based on the matching status, the size of the Reduced Candidate Set (Reduced Candidate Set, RCS for short) is fixed or variable. For example, the best predictor is selected, and if the following predictors are almost good, the following good predictors are also selected. Or we can just choose the best predictor if it is much better than the others. In this particular case of size-3CS with mv Scol , mv SH.264 and mv Snei , we can use a fixed-size RCS of size 2.

D.边界匹配D. Boundary Matching

本发明的一个方面为:确定自适应候选集;通过匹配技术减小候选集以节约索引的位数;执行基于最小MVD的猜测策略和全部MV编码过程;在MV编码中利用边界匹配作为匹配技术。One aspect of the present invention is to: determine the adaptive candidate set; reduce the candidate set by matching techniques to save the number of bits of the index; implement the guessing strategy based on the minimum MVD and the entire MV encoding process; use boundary matching as a matching technique in MV encoding .

本发明的进一步的方面还包括:进行边界匹配,例如将对应于每个候选的一部分数据复制到当前数据空间内,测量当前数据空间的相邻数据与粘贴的数据部分之间的协调性和连续性。A further aspect of the present invention also includes: performing boundary matching, such as copying a part of data corresponding to each candidate into the current data space, and measuring the coordination and continuity between the adjacent data in the current data space and the pasted data part sex.

在以下文章中对边界匹配(Boundary matching,简称BM)已有说明:Yan Chen,Yang Hu,Oscar C.Au,Houqiang Li,Chang Wen Chen的“Video ErrorConcealment Using Spatio-Temporal Boundary Matching and Partial DifferentialEquation”,出自IEEE多媒体学报(IEEE TRANSACTIONS ONMULTIMEDIA),VOL.10,NO.1,2008年1月,在此引入其公开内容。Boundary matching (BM) has been explained in the following articles: "Video Error Concealment Using Spatio-Temporal Boundary Matching and Partial Differential Equation" by Yan Chen, Yang Hu, Oscar C.Au, Houqiang Li, Chang Wen Chen, From IEEE Journal of Multimedia (IEEE TRANSACTIONS ONMULTIMEDIA), VOL.10, NO.1, January 2008, introduce its disclosure content here.

边界匹配广泛应用于误差隐藏以找到指向参考帧中的最可能的块的运动矢量,以恢复损失块。BM估计基于块及其相邻块之间的空间连续性搜索预测器。如果使用不正确的预测器,则相应的重建块与其相邻块不具有高空间连续性的可能性很大。但如果使用正确的预测器,则重建的块与相邻块应当是连续的。Boundary matching is widely used in error concealment to find the motion vector pointing to the most probable block in the reference frame to restore the lost block. BM estimation searches for a predictor based on the spatial continuity between a block and its neighbors. If an incorrect predictor is used, there is a high probability that the corresponding reconstructed block does not have high spatial continuity with its neighbors. But if the correct predictor is used, the reconstructed block should be contiguous with neighboring blocks.

匹配标准是边界匹配误差(boundary matching error,简称BME),其测量候选块的内部边界像素与当前块的外部边界像素之间的空间不连续性,如图2所示。图2表示块的内部边界像素和外部边界像素。字母N、W、E、S代表方向北、西、东和南。BME具有两部分:平滑不连续失真(smoothdiscontinuity distortion,简称SDD)和边缘不连续失真(edge discontinuitydistortion,简称EDD):The matching criterion is boundary matching error (BME for short), which measures the spatial discontinuity between the inner boundary pixels of the candidate block and the outer boundary pixels of the current block, as shown in Fig. 2. Fig. 2 shows inner boundary pixels and outer boundary pixels of a block. The letters N, W, E, S represent the directions North, West, East and South. BME has two parts: smooth discontinuity distortion (SDD for short) and edge discontinuity distortion (EDD for short):

BME=α×SDD+(1-α)×EDD                    (4)BME=α×SDD+(1-α)×EDD (4)

其中权重因子α为0至1之间的实数。The weight factor α is a real number between 0 and 1.

注意到在本实例化的MV编码方法中BM在编码器和解码器都能执行以找到合适的预测器。由于当前块的东侧和南侧通常尚未在解码器解码,仅使用容易获得的边界信息,例如北侧和/或西侧边界的信息。SDD和EDD计算如下:Note that in this instantiated MV encoding method BM is performed at both the encoder and the decoder to find a suitable predictor. Since the east and south sides of the current block are usually not yet decoded at the decoder, only readily available boundary information is used, such as that of the north and/or west boundaries. SDD and EDD are calculated as follows:

SDDSDD == ΣΣ kk == 00 NN Xx -- 11 || pp recrec (( xx ++ kk ,, ythe y )) -- pp recrec (( xx ++ kk ,, ythe y -- 11 )) || ++ ΣΣ kk == 00 NN WW -- 11 || pp recrec (( xx ,, ythe y ++ kk )) -- pp recrec (( xx -- 11 ,, ythe y ++ kk )) || -- -- -- (( 55 ))

EDDEDD == ΣΣ kk -- 00 NN ww -- 11 || ▿▿ (( ΔpΔp recrec (( xx ++ kk ,, ythe y )) )) || ▿▿ (( ΔΔ pp recrec (( xx ++ kk ,, ythe y )) )) || ·&Center Dot; ▿▿ ⊥⊥ pp recrec (( xx ++ kk ,, ythe y )) || ▿▿ ⊥⊥ pp recrec (( xx ++ kk ,, ythe y )) || || ×× || ▿▿ pp recrec (( xx ++ kk ,, ythe y )) ||

++ ΣΣ kk -- 00 NN hh -- 11 || ▿▿ (( ΔpΔp recrec (( xx ,, ythe y ++ kk )) )) || ▿▿ (( ΔΔ pp recrec (( xx ,, ythe y ++ kk )) )) || ·&Center Dot; ▿▿ ⊥⊥ pp recrec (( xx ,, ythe y ++ kk )) || ▿▿ ⊥⊥ pp recrec (( xx ,, ythe y ++ kk )) || || ×× || ▿▿ pp recrec (( xx ,, ythe y ++ kk )) || -- -- -- (( 66 ))

其中如果(x,y)指向外部边界,则prec(x,y)指的是(x,y)位置处的当前重建像素值,如果(x,y)指向内部边界内,则prec(x,y)指的是可能的候选块。

Figure GSA00000108193400104
是梯度算子,
Figure GSA00000108193400105
是与梯度方向正交的方向的正规算子,
Figure GSA00000108193400106
是拉普拉斯算子。在一个典型实施例中,这些相关的算子可以计算如下:where p rec (x, y) refers to the current reconstructed pixel value at position (x, y) if (x, y) points to the outer boundary, and if (x, y) points to the inner boundary, p rec ( x, y) refer to possible candidate blocks.
Figure GSA00000108193400104
is the gradient operator,
Figure GSA00000108193400105
is the normal operator in the direction orthogonal to the gradient direction,
Figure GSA00000108193400106
is the Laplacian operator. In a typical embodiment, these related operators can be calculated as follows:

|| ▿▿ ⊥⊥ pp recrec (( xx ,, ythe y )) || == || ▿▿ pp recrec (( xx ,, ythe y )) == [[ ∂∂ pp recrec (( xx ,, ythe y )) ∂∂ xx ]] 22 ++ [[ ∂∂ pp recrec (( xx ,, ythe y )) ∂∂ ythe y ]] 22

∂∂ pp recrec (( xx ,, ythe y )) ∂∂ xx == pp recrec (( xx ++ 11 ,, ythe y )) -- pp recrec (( xx -- 11 ,, ythe y )) 22

∂∂ pp recrec (( xx ,, ythe y )) ∂∂ ythe y == pp recrec (( xx ,, ythe y ++ 11 )) -- pp recrec (( xx ,, ythe y -- 11 )) 22

∂∂ 22 pp recrec (( xx ,, ythe y )) ∂∂ 22 xx == pp recrec (( xx ++ 11 ,, ythe y )) ++ pp recrec (( xx -- 11 ,, ythe y )) -- 22 pp recrec (( xx ,, ythe y ))

∂∂ 22 pp recrec (( xx ,, ythe y )) ∂∂ 22 ythe y == pp recrec (( xx ,, ythe y ++ 11 )) ++ pp recrec (( xx ,, ythe y -- 11 )) -- 22 pp recrec (( xx ,, ythe y )) -- -- -- (( 77 ))

等式(6)中,(▽(Δ·))/(|(▽(Δ·))|)代表拉普拉斯估计的归一化梯度,(▽·)/(|▽|)是沿切线方向的归一化矢量。如果跨边界的结构被合适地匹配,两项应当彼此正交并且内积为零。但是,如果匹配不当,两项的内积的绝对值往往会变大,引起内积变大。此外,对于等式(6)中的每个像素,内积被乘以梯度幅值|▽·|,这往往会使得EDD的数值范围和SDD的数值范围具有可比性。内积还反映了边界处的块的状况。In Equation (6), (▽(Δ ))/(|(▽(Δ ))|) represents the normalized gradient estimated by Laplacian, (▽ )/(|▽ |) is the normalized vector along the tangent direction. If the structure across the boundary is properly matched, the two terms should be orthogonal to each other and the inner product is zero. However, if the matching is not proper, the absolute value of the inner product of the two terms tends to become larger, causing the inner product to become larger. Furthermore, for each pixel in Equation (6), the inner product is multiplied by the gradient magnitude |▽·|, which tends to make the numerical range of EDD and SDD comparable. The inner product also reflects the condition of the blocks at the boundary.

对于CS中的每个预测器,对应的参考块用于计算BME。那些具有较少BME的预测器包括在RCS中。例如,在具有mvScol、mvSH.264和mvSnei的尺寸-3的CS的特例中,去除具有最大BME的预测器,RCS中包括其他两个预测器。For each predictor in CS, the corresponding reference block is used to compute BME. Those predictors with less BME were included in RCS. For example, in the special case of a CS of size -3 with mv Scol , mv SH.264 and mv Snei , the predictor with the largest BME is removed and the other two predictors are included in the RCS.

E.自适应模板匹配E. Adaptive Template Matching

本发明的另一方面为:确定自适应候选集;通过匹配技术减少候选集以节约索引的位数;开发自适应模板形状和宽度策略;执行基于最小MVD的猜测策略和全部MV编码过程;MV编码中利用自适应模板匹配作为匹配技术。此外,本发明提供了基于相关性和相似性标准确定模板形状和宽度的策略,该策略适用于多种应用,例如但不限于运动矢量编码。Another aspect of the present invention is to: determine the adaptive candidate set; reduce the candidate set by matching techniques to save the number of bits of the index; develop an adaptive template shape and width strategy; perform a guessing strategy based on the minimum MVD and the entire MV encoding process; MV Adaptive template matching is used in encoding as a matching technique. Furthermore, the present invention provides a strategy for determining template shape and width based on correlation and similarity criteria, which is suitable for a variety of applications such as but not limited to motion vector coding.

本发明的进一步的方面还包括:Further aspects of the invention also include:

基于模板与当前数据之间可能的相关性确定用于当前数据空间的模板形状,例如,在如H.264的基于块的视频压缩系统中,如果宏块由率-失真标准分为不同分区(这意味着不同分区之间的相关性可以很低),本分区的模板可能不包括另一分区内的像素;The template shape for the current data space is determined based on possible dependencies between the template and the current data, e.g., in a block-based video compression system like H.264, if the macroblocks are divided into different partitions by the rate-distortion criterion ( This means that the correlation between different partitions can be very low), the template of this partition may not include pixels in another partition;

基于模板内的一致性确定用于当前数据空间的模板尺寸,例如,计算可能的模板内部之差,如果与当前数据空间离得远的像素不类似于与当前数据空间离得近的像素,则可以从模板中去除离得远的像素;而Determine the template size for the current data space based on the consistency within the template, e.g., calculate the possible intra-template differences, if pixels far from the current data space are not similar to pixels close to the current data space, then Pixels that are far away can be removed from the template; while

模板匹配技术可以包括但不限于,利用基于候选的位移,计算当前数据空间的模板与参考画面中基于位移的模板之间的差。Template matching techniques may include, but are not limited to, using candidate-based displacements to calculate the difference between the template in the current data space and the displacement-based template in the reference picture.

图3表示模板匹配的示范性模板。模板匹配已在以下文章中说明:S.Kamp,M.Evertz和M.Wien的“Decoder side motion vector derivation for inter framevideo coding”,出自IEEE国际图像处理会议(IEEE International Conference onImage Processing),pp.1120-1123,2008,在此通过参考引入。为了获得当前块的良好预测,绕目标块的左边界和上边界限定L形的模板区(TR)。限定模板宽度M_left和M_up为延伸到模板区的目标左边和上边的像素的宽度。为了测试当前块的模板与对应于MVP的候选块的模板之间的相似性,仅需要计算两个模板的绝对差和(sum of absolute difference,简称SAD)。当模板属于与当前块相同的对象时,如果MVP给出的模板SAD很小,可以合理推测对应于MVP的块也可以提供当前块的良好预测。Figure 3 shows an exemplary template for template matching. Template matching has been described in: "Decoder side motion vector derivation for inter frame video coding" by S. Kamp, M. Evertz and M. Wien, in IEEE International Conference on Image Processing, pp.1120 -1123, 2008, incorporated herein by reference. In order to obtain a good prediction of the current block, an L-shaped template region (TR) is defined around the left and upper boundaries of the target block. The template widths M_left and M_up are defined to be the width of pixels extending to the left and top of the object of the template area. To test the similarity between the template of the current block and the template of the candidate block corresponding to the MVP, only the sum of absolute difference (SAD for short) of the two templates needs to be calculated. When the template belongs to the same object as the current block, if the template SAD given by the MVP is small, it is reasonable to speculate that the block corresponding to the MVP can also provide a good prediction of the current block.

但是,如果模板区中的一些部分属于具有不同运动的另一对象,即使MVP良好,这仍会得出一个大模板SAD。一个实施例中,为避免这种情况,不使用固定尺寸的M_left和M_up,而是基于模板与目标块之间的可能的相关性和模板内部的相似性,使用自适应的模板形状和宽度。在较佳实施例中,由于能给出更有意义的模板SAD,所以使用大模板。但是任何属于不同当前块所属对象的像素应不包括在该模板中。However, if some parts of the template area belong to another object with a different motion, this will still result in a large template SAD even if the MVP is good. In one embodiment, to avoid this situation, instead of using fixed sizes of M_left and M_up, an adaptive template shape and width are used based on the possible correlation between the template and the target block and the similarity inside the template. In the preferred embodiment, large templates are used since they give a more meaningful template SAD. But any pixels belonging to objects belonging to a different current block shall not be included in the template.

L形模板包含两部分:上方部分和左侧部分。术语“左侧模板”指的是L形模板的左侧部分。类似的,术语“上方模板”指的是L形模板的上侧部分。典型地,我们允许模板为L形模板、左侧模板或上方模板。The L-shaped template consists of two parts: the upper part and the left part. The term "left formwork" refers to the left part of the L-shaped formwork. Similarly, the term "upper formwork" refers to the upper portion of the L-shaped formwork. Typically, we allow templates to be L-shaped templates, left templates, or upper templates.

在具有mvScol、mvSH.264和mvSnei的尺寸-3的CS的示范性实施例中,我们根据当前块与其相邻块之间的相关性将模板形状选择策略限定如下:In an exemplary embodiment of a size-3 CS with mv Scol , mv SH.264 and mv Snei , we define the template shape selection strategy based on the correlation between the current block and its neighbors as follows:

如果(blocktype=P16*16)if(blocktype=P16*16)

则使用左侧模板和上方模板;then use the left template and the upper template;

否则如果(blocktype=P16*8)/*具有上方16x8的分区和下方16x8的分区*/Else if (blocktype=P16*8) /* has a partition of 16x8 above and a partition of 16x8 below */

则上方分区使用左侧模板和上方模板,下方分区仅使用左侧模板;Then the upper partition uses the left template and the upper template, and the lower partition only uses the left template;

否则如果(blocktype=P8*16)/*具有左侧8x16的分区,右侧8x16的分区*/则Else if (blocktype=P8*16)/*has a left 8x16 partition and a right 8x16 partition*/then

左侧分区与使用左侧模板和上方模板,右侧分区仅使用上方模板;The left partition uses the left template and the upper template, and the right partition only uses the upper template;

否则如果(blocktype=P8*8)/*具有四个8x8的分区,其中一些可以再分为更小的尺寸为4x8、8x4、4x4的分区*/else if (blocktype=P8*8) /* has four 8x8 partitions, some of which can be subdivided into smaller partitions of size 4x8, 8x4, 4x4 */

则当前MB的左上角处分区使用左侧模板和上方模板,Then the partition in the upper left corner of the current MB uses the left template and the upper template,

当前MB的左边界处分区仅使用左侧模板,Partitions at the left boundary of the current MB use only the left template,

当前MB的上边界处分区仅使用上方模板,The partition at the upper boundary of the current MB only uses the upper template,

其他分区使用左侧模板和上方模板。The other partitions use the left template and the upper template.

该策略的原因也是我们希望将宏块(MB)分为不同分区的原因。不同的分区之间往往具有相对较低的相关性或者不同的运动情况。所以当使用模板SAD选出良好MVP时,将另一分区中的像素包括在模板中可能会对所选出的良好MVP的正确性带来风险。但是也能使用其他的模板形状选择策略。The reason for this strategy is also why we want to divide macroblocks (MBs) into different partitions. Different partitions often have relatively low correlation or different motion situations. So when using the template SAD to select a good MVP, including pixels from another partition in the template may risk the correctness of the selected good MVP. But other template shape selection strategies can also be used.

如果当前块平滑,则需要模板中的像素具有类似的亮度和平滑性。如果当前块是纹理块,则需要模板中的像素具有类似的纹理。如果当前块具有边缘,则需要模板中的像素具有边缘,该边缘是块内的边缘的延伸,并且模板中边缘两侧上的像素类似于块内的像素。换句话说,根据模板与块之间的一致性或类似性设置模板宽度。If the current block is smooth, the pixels in the template are required to have similar brightness and smoothness. If the current block is a texture block, the pixels in the template are required to have a similar texture. If the current block has an edge, it is required that the pixels in the template have an edge that is an extension of the edge within the block, and that the pixels on both sides of the edge in the template are similar to the pixels within the block. In other words, set the stencil width based on the consistency or similarity between the stencil and the block.

在具有mvScol、mvSH.264和mvSnei的尺寸-3的CS的示范性实施例中,将模板宽度的构造标准限定如下:In an exemplary embodiment of a size-3 CS with mv Scol , mv SH.264 , and mv Snei , the construction criteria for the template width are defined as follows:

图4表示模板宽度等于4的示范性模板。FIG. 4 shows an exemplary template with a template width equal to four.

模板的最大宽度是N=4;/*也就是模板具有N排像素*/The maximum width of the template is N=4; /*that is, the template has N rows of pixels*/

计算模板中相邻的排之间的差。以上方模板为例,如图4所示,计算:Computes the difference between adjacent rows in a template. Take the above template as an example, as shown in Figure 4, calculate:

SAD12=1排与2排之间的绝对值差之和(SAD);SAD12=sum of absolute difference between row 1 and row 2 (SAD);

SAD23=2排与3排之间的SAD;SAD23=SAD between row 2 and row 3;

SAD34=3排与4排之间的SAD;SAD34=SAD between row 3 and row 4;

如果(SAD12>SAD23+阈值1)if (SAD12>SAD23+threshold1)

上方模板仅包括1排;否则The upper template includes only 1 row; otherwise

如果(SAD23>SAD12+阈值2‖SAD12>SAD34+阈值3)if (SAD23>SAD12+threshold2‖SAD12>SAD34+threshold3)

上方模板包括1排和2排;否则The upper template includes 1 row and 2 rows; otherwise

如果(SAD34>SAD12+阈值2)if (SAD34>SAD12+threshold2)

上方模板包括1排、2排、3排;The upper template includes 1 row, 2 rows and 3 rows;

否则otherwise

上方模板包括1排、2排、3排、4排;The upper template includes 1 row, 2 rows, 3 rows, 4 rows;

同样的,使用相同的方法得到左侧模板的宽度。一旦对当前块设定了模板形状和宽度,具有相同形状和宽度的参考块的模板就用以计算模板SAD。参考画面中的较好匹配模板区域具有与当前模板之间较小的模板SAD。由于模板与当前块的空间相关性很高,所以有理由假设对应于较好匹配模板的块能为当前块提供良好预测。Similarly, use the same method to get the width of the left template. Once the template shape and width are set for the current block, the template of the reference block with the same shape and width is used to calculate the template SAD. A better matching template region in the reference picture has a smaller template SAD to the current template. Since the template has a high spatial correlation with the current block, it is reasonable to assume that blocks corresponding to better matching templates provide good predictions for the current block.

在本发明中,对于CS中的每个预测器均计算对应的模板SAD。那些具有较少模板SAD的预测器包括在RCS中。例如,在具有mvScol、mvSH.264和mvSnei的尺寸-3的CS的特例中,去除具有最大模板SAD的预测器,RCS中包括其他两个预测器。In the present invention, for each predictor in CS a corresponding template SAD is calculated. Those predictors with fewer template SADs are included in RCS. For example, in the special case of a CS of size-3 with mv Scol , mv SH.264 , and mv Snei , the predictor with the largest template SAD is removed and the other two predictors are included in the RCS.

F.最终MVP决定F. Final MVP decision

本发明的另一方面是对减少的候选集中的所有候选执行比较和计数过程,而每个比较和计数过程中都比较了候选和当前参数的差并编码最小的差。Another aspect of the invention is to perform a compare and count process on all candidates in the reduced set of candidates, each of which compares the difference between the candidate and the current parameter and encodes the smallest difference.

在本发明中,根据设置的策略,经匹配技术减小后的候选集可能包含一个或多个MVP。例如,在具有mvScol、mvSH.264和mvSnei的尺寸-3的CS的特例中,RCS包含两个预测器。所以还需要从两个预测器中选出最终的预测器。现将当前块的最终MVP的pmvopt限定如下:In the present invention, according to the set strategy, the candidate set reduced by the matching technique may contain one or more MVPs. For example, in the special case of a CS of size-3 with mv Scol , mv SH.264 and mv Snei , the RCS contains two predictors. So it is also necessary to select the final predictor from the two predictors. Now limit the pmv opt of the final MVP of the current block as follows:

pmvpmv optopt == argarg minmin pmvpmv ii DD. (( mvmv -- pmvpmv ii )) -- -- -- (( 88 ))

其中pmvi指的是包括在RCS中的第i个MVP,D(·)是用以测量距离的函数,mv代表当前块的运动矢量。当前块的最终MVD是(mv-pmvopt)。Wherein pmv i refers to the i-th MVP included in the RCS, D(·) is a function used to measure the distance, and mv represents the motion vector of the current block. The final MVD of the current block is (mv-pmv opt ).

G.索引编码G. Index coding

本发明的另一方面是通过猜测策略编码候选的索引,该候选与当前参数相比具有最小的差。猜测策略是基于已编码的最小的差和减少的候选集:一般而言,对N个候选产生N个可能的参数,随后基于最小的差的标准为每个可能的参数重新选择最佳候选和获得新的最小差。如果此最佳候选与产生该可能参数的候选相同(新最小差也同时和原来已经编码的最小差相等),则该候选可能;否则设定该候选为不可能。如果可能的候选仅有一个,则不需要编码索引,否则需要编码索引。Another aspect of the invention is to encode the index of the candidate with the smallest difference compared to the current parameters by a guessing strategy. The guessing strategy is based on the encoded smallest difference and reduced candidate set: in general, N possible parameters are generated for N candidates, and the best candidate is then reselected for each possible parameter based on the smallest difference criterion and Get the new minimum difference. If the best candidate is the same as the candidate that produced the possible parameter (the new minimum difference is also equal to the original encoded minimum difference), then the candidate is possible; otherwise, the candidate is set as impossible. If there is only one possible candidate, no encoding index is required, otherwise an encoding index is required.

当RCS中所有MVP都相同时,不需要索引通知选定。否则,需要一个或多个位通知最终MVP的索引。但是,最优的MVP可以在一些情况下在解码器处获得,不需要传送索引。以下说明了最优的MVP如何获得:HyunDuk Cho,Sung Deuk Kim的“Method for coding motion vector using 2-dimentionalminimum bitrate predicting technique”,第7023919B2号美国专利,2006年4月,此处通过参考引入其公开内容。提出了猜测策略。不同的是本实施例使用最小化MVD作为标准,代替以最小位速率作为标准,后者在不同MVD具有相同位速率时效率不高。When all MVPs in the RCS are the same, no index notification is required for selection. Otherwise, one or more bits are required to inform the index of the final MVP. However, the optimal MVP can in some cases be obtained at the decoder without the need to transmit the index. The following illustrates how the optimal MVP is obtained: "Method for coding motion vector using 2-dimentional minimum bitrate predicting technique" by HyunDuk Cho, Sung Deuk Kim, US Patent No. 7023919B2, April 2006, the disclosure of which is incorporated herein by reference content. A guessing strategy is proposed. The difference is that this embodiment uses the minimum MVD as the criterion instead of the minimum bit rate, which is not efficient when different MVDs have the same bit rate.

在本实施例中,假设经过匹配技术后,候选集中剩余预测器的数目为N,并且已经确定了最佳预测器和MVD。对于每个预测器MVP_i,首先假设其是最终预测器,从而可以得到一个新的运动矢量(MVP_i的值加上MVD)。对此新的运动矢量根据差最小的标准来重新在N个预测器中选择最优的一个,如果选择的是MVP_i,则说明MVP_i是有可能的,否则MVP_i是不可能的。In this embodiment, it is assumed that after the matching technique, the number of remaining predictors in the candidate set is N, and the best predictor and MVD have been determined. For each predictor MVP_i, it is first assumed to be the final predictor, so that a new motion vector (the value of MVP_i plus MVD) can be obtained. In this regard, the new motion vector selects the optimal one among the N predictors according to the standard with the smallest difference. If MVP_i is selected, it means that MVP_i is possible, otherwise MVP_i is impossible.

以具有mvScol、mvSH.264和mvSnei(RCS中具有2个MVPmvBM1和mvBM2)的尺寸-3的CS的示范性实施例作为实例,表示如何工作:Taking as an example an exemplary embodiment of a size-3 CS with mv Scol , mv SH.264 and mv Snei (with 2 MVPs mv BM1 and mv BM2 in RCS) to show how this works:

步骤1:获得两个可能的运动矢量MV1=MVD+mvBM1和MV2=MVD+mvBM2Step 1: Obtain two possible motion vectors MV1=MVD+mv BM1 and MV2=MVD+mv BM2 ;

步骤2:假设MV1是真实的运动矢量,根据等式8选择用于MV1的最佳预测器。如果用于MV1的最佳预测器是mvBM1,则设置flag_BM1=1,否则flag_BM1=0;Step 2: Assuming MV1 is the real motion vector, select the best predictor for MV1 according to Equation 8. If the best predictor for MV1 is mv BM1 , set flag_BM1=1, otherwise flag_BM1=0;

步骤3:假设MV2是真实的运动矢量,根据等式8选择用于MV2的最佳预测器。如果用于MV2的最佳预测器是mvBM2,则设置flag_BM2=1,否则flag_BM2=0;Step 3: Assuming MV2 is the real motion vector, select the best predictor for MV2 according to Equation 8. If the best predictor for MV2 is mv BM2 , set flag_BM2=1, otherwise flag_BM2=0;

步骤4:如果((flag_BM1=1 && flag_BM2=1)‖(flag_BM1=0&&flag_BM2=0)),将传送最终MVP的索引。否则不传送索引,根据flag_BM1和flag_BM2可以获得最佳预测器。Step 4: If ((flag_BM1=1 && flag_BM2=1)‖(flag_BM1=0&&flag_BM2=0)), the index of the final MVP will be transmitted. Otherwise no index is transmitted and the best predictor can be obtained according to flag_BM1 and flag_BM2.

图5表示用于MVCBM的流程图。在将边界匹配用作匹配技术以进行运动矢量编码的示范性实施例中:Figure 5 shows a flowchart for MVCBM. In an exemplary embodiment using boundary matching as a matching technique for motion vector coding:

在编码器侧on the encoder side

MVCBM(编码器):MVCBM (encoder):

步骤501:计算成比例缩放的中间预测器(mv_SH.264)、共址预测器(mv_Scol)和与邻近预测器中的中间预测器最不相同的预测器(mv_Snei),但是通过与等式(1)类似的方法将共址预测器(mv_Scol)和邻近预测器成比例缩放。Step 501: Compute the scaled intermediate predictor (mv_SH.264), the co-located predictor (mv_Scol) and the most dissimilar predictor (mv_Snei) from the intermediate predictor in the neighbor predictors, but by the equation ( 1) A similar approach scales the co-location predictor (mv_Scol) and the neighbor predictor.

步骤503:利用边界匹配选择两个预测器(mv_bm1和mv_bm2)进入具有较少的边界匹配误差的减少的候选集(RCS)。当然也可以选择多于两个探测器。Step 503: Use boundary matching to select two predictors (mv_bm1 and mv_bm2) into the reduced candidate set (RCS) with less boundary matching error. It is of course also possible to select more than two detectors.

步骤505:基于最小的MVD标准,在mv_bm1与mv_bm2之间为当前块选择最终MVP,得到MVD。Step 505: Based on the minimum MVD standard, select the final MVP for the current block between mv_bm1 and mv_bm2 to obtain the MVD.

步骤507:基于当前MVD,利用猜测策略判断是否能探测到正确的MVP;如果能探测到正确的MVP,不需要在随后编码并发送位作为索引;否则需要在随后编码并发送1位作为索引(在边界匹配后预测器的数目大于2,则作为索引的位可以大于1);Step 507: Based on the current MVD, use the guessing strategy to judge whether the correct MVP can be detected; if the correct MVP can be detected, it is not necessary to encode and send bits as an index subsequently; otherwise, it is necessary to encode and send 1 bit as an index subsequently ( After the boundary match, the number of predictors is greater than 2, then the bit as index can be greater than 1);

步骤509:编码MVD和其他信息,在不能探测到正确的MVP的情况下还需要编码索引。其他信息例如包括编码块模式(Coded Block Pattern,简称CBP)、量化的残差等。Step 509: Encoding the MVD and other information, if the correct MVP cannot be detected, an encoding index is also required. Other information includes, for example, a coded block pattern (Coded Block Pattern, CBP for short), a quantized residual, and the like.

所述步骤509中,在实际的编码流程中,宏块里所有分区的MVP索引是放在一起编码输出的,并且是在整个宏块编码输出的最后面。这样做的原因在于在解码端,在重建过程中才考虑解码MVP索引,而之前宏块其他信息都已经被解码了。In the step 509, in the actual encoding process, the MVP indexes of all the partitions in the macroblock are coded and output together, and it is at the end of the encoding output of the entire macroblock. The reason for this is that at the decoding end, the decoding of the MVP index is only considered during the reconstruction process, and other information of the macroblock has been decoded before.

在解码器侧on the decoder side

MVCBM(解码器):MVCBM (decoder):

步骤511:解码MVD和其他信息,开始重建当前块。其他信息例如包括例如包括CBP、量化的残差等。Step 511: Decode the MVD and other information, and start to reconstruct the current block. Other information includes, for example, CBP, quantized residuals, and the like.

步骤513和步骤515与编码器的步骤501、503相同。Step 513 and step 515 are the same as steps 501 and 503 of the encoder.

步骤517:基于解码的MVD,利用猜测策略判断能否确定MVP;如果无法确定哪一个是MVP,则解码1位为索引。Step 517: Based on the decoded MVD, use the guessing strategy to determine whether the MVP can be determined; if it cannot be determined which one is the MVP, decode 1 bit as an index.

步骤519:利用MVP和MVD得到当前块的MV。Step 519: Obtain the MV of the current block by using MVP and MVD.

图6表示MVCATM的流程图。在将自适应模板匹配用作运动矢量编码的匹配技术的另一示范性实施例中:Fig. 6 shows a flowchart of MVCATM. In another exemplary embodiment using adaptive template matching as a matching technique for motion vector coding:

编码器侧encoder side

MVCATM(编码器)MVCATM (encoder)

步骤601:计算成比例缩放的中间预测器(mv_SH.264)、共址预测器(mv_Scol)和与邻近预测器中的中间预测器最不相同的预测器(mv_Snei),但是通过与等式(1)类似的方法将共址预测器(mv_Scol)和邻近预测器成比例缩放。Step 601: Compute the scaled intermediate predictor (mv_SH.264), the co-located predictor (mv_Scol) and the most dissimilar predictor (mv_Snei) from the intermediate predictor among neighbor predictors, but by the equation ( 1) A similar approach scales the co-location predictor (mv_Scol) and the neighbor predictor.

步骤603:基于模板与目标块之间可能的类似性和相关性,为当前块限定具有自适应形状和宽度的模板;Step 603: Based on the possible similarity and correlation between the template and the target block, define a template with adaptive shape and width for the current block;

步骤605:利用自适应模板匹配选择具有较少模板SAD的两个预测器(mv_tm1和mv_tm2)。Step 605: Use adaptive template matching to select two predictors (mv_tm1 and mv_tm2) with fewer template SADs.

步骤607:基于最小的MVD标准,在mv_tm1与mv_tm2之间为当前块选择最终MVP,得到MVD。Step 607: Based on the minimum MVD standard, select the final MVP for the current block between mv_tm1 and mv_tm2 to obtain the MVD.

步骤609:基于当前MVD,利用猜测策略判断是否能探测到正确的MVP;如果能探测到正确的MVP,不需要在随后编码并发送位作为索引;否则需要在随后编码并发送1个位作为索引;Step 609: Based on the current MVD, use the guessing strategy to judge whether the correct MVP can be detected; if the correct MVP can be detected, there is no need to encode and send a bit as an index; otherwise, it is necessary to encode and send a bit as an index ;

步骤611:编码MVD和其他信息,在不能探测到正确的MVP的情况下还需要编码索引。其他信息例如包括CBP、量化的残差等。Step 611: Encode the MVD and other information, and if the correct MVP cannot be detected, the index needs to be encoded. Other information includes, for example, CBP, quantized residuals, and the like.

解码器侧decoder side

MVCATM(解码器):MVCATM (decoder):

步骤621:解码MVD和其他信息,开始重建当前块。其他信息例如包括CBP、量化的残差等。Step 621: Decode the MVD and other information, and start to reconstruct the current block. Other information includes, for example, CBP, quantized residuals, and the like.

步骤623、步骤625和步骤627:与在编码器侧的步骤601、603、605相同。Step 623, Step 625 and Step 627: Same as Steps 601, 603, 605 on the encoder side.

步骤629:基于解码的MVD,利用猜测策略判断能否确定MVP;如果无法确定哪一个是MVP,则为索引解码1位。Step 629: Based on the decoded MVD, use the guessing strategy to determine whether the MVP can be determined; if it cannot be determined which one is the MVP, decode 1 bit for the index.

步骤631:利用MVP和MVD得到当前块的MV。Step 631: Obtain the MV of the current block by using MVP and MVD.

图7表示视频编码系统的一个实施例的方框图。本发明是在运动估计(ME)后执行运动矢量编码(MVC)。运动矢量将会提供给宏块,如果该宏块是帧间预测(inter-prediction,简称Inter-Pred)型。如果宏块是帧内预测(Intra-Pred)型,则一个运动矢量也不需要。通过变换(T)变换残量并通过量化(Q)量化残量给出量化的残量。通过熵编码将MVD与量化的残量以及需要传输的索引一起编码,将用于传输的输出送到解码器。在量化的残量上执行解量化(Q-1)和逆变换(T-1)。重建的残量加入到ME得到的预测块的结果中以给出参考图像。Figure 7 shows a block diagram of one embodiment of a video encoding system. The present invention performs motion vector coding (MVC) after motion estimation (ME). The motion vector will be provided to the macroblock if the macroblock is of inter-prediction (Inter-Pred for short) type. If the macroblock is of the intra-prediction (Intra-Pred) type, a motion vector is also unnecessary. Transforming the residual by transform (T) and quantizing the residual by quantization (Q) gives a quantized residual. The MVD is encoded together with the quantized residual and the index to be transmitted by entropy coding, and the output for transmission is sent to the decoder. Dequantization (Q-1) and inverse transform (T-1) are performed on the quantized residual. The reconstructed residual is added to the result of the prediction block obtained by the ME to give the reference image.

图8表示视频解码系统的一个实施例的方框图。解码的宏块是帧间预测(Inter-Pred)型时,进一步解码MVD。通过熵解码来解码位流以获得解码的残差。通过解量化(Q-1)解量化解码的残量并通过逆变换(T-1)逆变换以给出信号。在重建过程中执行运动矢量编码方法的解码(DMVC)。如果DMVC中的猜测策略无法确定运动矢量预测器(MVP),则可能需要进一步解码额外的索引。DMVC产生的MV用于运动补偿(MC)中。MC的结果加入信号给出重建的帧。Figure 8 shows a block diagram of one embodiment of a video decoding system. When the decoded macroblock is an inter-prediction (Inter-Pred) type, MVD is further decoded. The bitstream is decoded by entropy decoding to obtain a decoded residual. The decoded residual is dequantized by dequantization (Q-1) and inverse transformed by inverse transform (T-1) to give the signal. Decoding of the motion vector coding method (DMVC) is performed during reconstruction. If the guessing strategy in DMVC cannot determine the motion vector predictor (MVP), further decoding of additional indices may be required. The MVs generated by DMVC are used in motion compensation (MC). The result of MC is added to the signal to give the reconstructed frame.

图9表示了根据本发明实施例的一种运动矢量编码装置,包括以下部分:Figure 9 shows a motion vector encoding device according to an embodiment of the present invention, including the following parts:

901、第一选择模块,用以选择组成候选集的预测器;901. A first selection module, configured to select predictors forming a candidate set;

903、第一处理模块,接收所述第一选择模块的预测器的候选集,用以利用匹配方法减少所述候选集中的预测器的数目;903. The first processing module receives a candidate set of predictors of the first selection module, and uses a matching method to reduce the number of predictors in the candidate set;

905、第二选择模块,与所述第一处理模块连接,接收所述候选集中的剩余预测器,基于最小运动矢量差的标准在所述剩余预测器中选定最优的预测器;905. The second selection module is connected to the first processing module, receives the remaining predictors in the candidate set, and selects the optimal predictor among the remaining predictors based on the minimum motion vector difference criterion;

907、第二处理模块,与所述第二选择模块连接,根据选定的最优的预测器得到当前运动矢量差;907. The second processing module is connected to the second selection module, and obtains the current motion vector difference according to the selected optimal predictor;

909、探测模块,与所述第二处理模块和第一处理模块连接,基于从第一处理模块中得到的剩余的预测器和当前运动矢量差,利用猜测策略探测运动矢量预测器;909. The detection module is connected to the second processing module and the first processing module, and uses a guessing strategy to detect the motion vector predictor based on the difference between the remaining predictors obtained from the first processing module and the current motion vector;

911、判断模块,与所述探测模块连接,如果探测模块的探测结果为探测到正确的运动矢量预测器,则将判断结果发送到编码模块;911. The judgment module is connected to the detection module, and if the detection result of the detection module is that a correct motion vector predictor is detected, send the judgment result to the encoding module;

913、编码模块,接收所述判断结果,编码至少当前运动矢量差或者编码至少当前运动矢量差和索引。913. The encoding module receives the judgment result, and encodes at least the current motion vector difference or encodes at least the current motion vector difference and an index.

图10表示了更加本发明实施例的一种运动矢量解码装置,包括以下部分:Fig. 10 shows a kind of motion vector decoding device of the embodiment of the present invention more, comprises the following parts:

1001、接收模块,接收至少已编码的运动矢量差;1001. The receiving module receives at least the coded motion vector difference;

1003、第一解码模块,连接所述接收模块,根据接收的至少已编码的运动矢量差,解码运动矢量差;1003. The first decoding module is connected to the receiving module, and decodes the motion vector difference according to at least the received coded motion vector difference;

1005、第一选择模块,用以选择组成候选集的预测器;1005. A first selection module, configured to select predictors forming the candidate set;

1007、第一处理模块,接收所述第一选择模块的预测器的候选集,用以利用匹配方法减少所述候选集中的预测器的数目;1007. The first processing module receives the candidate set of predictors of the first selection module, and uses a matching method to reduce the number of predictors in the candidate set;

1009、判断模块,连接所述第一处理模块与所述第一解码模块,基于所述候选集中剩余预测器和解码的运动矢量差,利用猜测策略判断能否确定运动矢量预测器;1009. A judging module, connected to the first processing module and the first decoding module, based on the difference between the remaining predictors in the candidate set and the decoded motion vector, using a guessing strategy to judge whether the motion vector predictor can be determined;

1011、第二解码模块,连接所述判断模块,根据所述判断结果解码索引;1011. The second decoding module is connected to the judgment module, and decodes the index according to the judgment result;

1013、分析模块,连接所述第一处理模块和第二解码模块,根据解码的索引判定运动矢量预测器;1013. The analysis module is connected to the first processing module and the second decoding module, and determines the motion vector predictor according to the decoded index;

1015、第二处理模块,连接所述判断模块、所述第一解码模块和所述分析模块,根据判断结果,利用解码的运动矢量差和已解码确定的运动矢量预测器得到运动矢量;或者利用解码的运动矢量差和已判定的运动矢量预测器得到运动矢量。1015. The second processing module is connected to the judgment module, the first decoding module, and the analysis module, and according to the judgment result, obtains a motion vector by using the decoded motion vector difference and the decoded and determined motion vector predictor; or by using The decoded motion vector difference and the determined motion vector predictor result in a motion vector.

一般说来,视频编解码以及运动矢量编解码的多种实施方式能在多种终端设备或用户设备中实施,终端设备或用户设备包括但不限于手机及其他无线通信装置、个人数字助理(PDA)、便携式和台式计算机、图像/视频装置(如数码照相机)、音频-视频(AV)设备(如视频播放器)、游戏装置、允许访问及可能的浏览的因特网或局域网(LAN)装置、以及这些功能相结合的可移动的单元或装置。Generally speaking, various implementations of video codec and motion vector codec can be implemented in various terminal equipment or user equipment, including but not limited to mobile phones and other wireless communication devices, personal digital assistants (PDAs) ), portable and desktop computers, imaging/video devices (such as digital cameras), audio-visual (AV) equipment (such as video players), gaming devices, Internet or local area network (LAN) devices that allow access and possibly browsing, and A movable unit or device combining these functions.

本发明的实施例可以以软件、硬件、应用逻辑或者软件、硬件与应用逻辑组合的方式实施。软件、应用逻辑和/或硬件可以存留于集成电路芯片、模块或存储器上。如果需要的话,一部分软件、硬件和/或应用逻辑可以存留于集成电路芯片上,一部分软件、硬件和/或应用逻辑可以存留于模块上,以及一部分软件、硬件和/或应用逻辑可以存留于存储器上。在一个示例中,应用逻辑、软件或指令集存留在各种常规计算机可读介质中的任何一种内。本发明的上下文中,“计算机可读介质”可以是任意媒质或装置,其包含、存储、通信、传播或传送指令以供指令执行系统、装置或设备(如计算机)使用或与指令执行系统、装置或设备共同使用。计算机可读介质可以包括计算机可读存储媒质,其可以是含有或存储指令的任意媒质或装置以供指令执行系统、装置或设备(如计算机)使用或与指令执行系统、装置或设备共同使用。Embodiments of the present invention may be implemented in the form of software, hardware, application logic or a combination of software, hardware and application logic. Software, application logic and/or hardware may reside on integrated circuit chips, modules or memory. Portions of software, hardware, and/or application logic may reside on integrated circuit chips, portions of software, hardware, and/or application logic may reside on modules, and portions of software, hardware, and/or application logic may reside in memory, if desired. superior. In one example, the application logic, software or an instruction set resides on any of a variety of conventional computer-readable media. In the context of the present invention, a "computer-readable medium" may be any medium or device that contains, stores, communicates, propagates or transmits instructions for use by or in connection with an instruction execution system, device or device (such as a computer) common use of devices or equipment. A computer readable medium may include a computer readable storage medium, which may be any medium or device that contains or stores instructions for use by or in conjunction with an instruction execution system, device or device, such as a computer.

如果需要的话,此处讨论的不同功能可以以彼此不同的次序和/或同时执行。此外,如果需要的话,上述功能的一个或多个可以是任选的或可以组合。Different functions discussed herein may be performed in different orders from each other and/or concurrently, if desired. Furthermore, one or more of the functions described above may be optional or may be combined, if desired.

尽管独立权利要求中指出的本发明的多个方面,本发明的其他方面包括上述实施例中的特征及其组合和/或具有独立权利要求的特征的从属权利要求,而不仅是权利要求中明确给出的组合。Although various aspects of the invention are indicated in the independent claims, other aspects of the invention include the features of the above-described embodiments and combinations thereof and/or dependent claims having features of the independent claims, not only those explicitly stated in the claims. given combination.

此处还应注意在以上说明本发明的示范性实施例的同时,这些说明不应当看做是限制的意思。还可以做出多种变换和改进而不背离权利要求限定的本发明的范围。It is also noted herein that while the above describes exemplary embodiments of the invention, these descriptions should not be viewed in a limiting sense. Various changes and modifications can also be made without departing from the scope of the present invention defined in the claims.

Claims (10)

1. a motion vector encoder method, is characterized in that, comprises the following steps:
Step 1: the Candidate Set that limits fallout predictor, wherein said fallout predictor is based on the motion vector adaptive variation adjacent with described motion vector, in the situation that use a plurality of reference frames, adjacent motion vector before being used as predicting described motion vector, according to its time gap by convergent-divergent pro rata;
Step 2: the figure place that the number that utilizes matching process to reduce the fallout predictor in described Candidate Set uses to reduce index;
Step 3: based on selected optimum fallout predictor in the remaining predicted device of standard in described Candidate Set of minimum movement phasor difference, and it is poor to obtain current motion vector, the poor minimum of the fallout predictor that this is optimum and current motion vector value;
step 4: poor based on remaining predicted device and current motion vector, utilize guess strategy to survey motion vector predictor further to save the figure place for code index, wherein guess strategy refers to that the number of described remaining predicted device is at least 1, to each remaining predicted device and intermediate parameters of the poor generation of current motion vector, N remaining predicted device produced N intermediate parameters, standard based on the minimum movement phasor difference reselects fallout predictor to be selected and obtains new minimum movement phasor difference for each intermediate parameters, if the fallout predictor to be selected that reselects is identical with the remaining predicted device that produces this intermediate parameters, judge that this remaining predicted device is optional fallout predictor, otherwise set this remaining predicted device and be not optional fallout predictor, if the number of optional fallout predictor is 1, this optional fallout predictor is correct motion vector predictor,
Step 5: judge whether to detect correct motion vector predictor, if detect correct motion vector predictor, encoding, current motion vector is poor at least,, if can't detect correct motion vector predictor, to current motion vector is poor at least, with index, encodes;
Wherein said matching process is the adaptive template matching process, described adaptive template matching process is, be identified for the shape of the adaptive template in current data space based on correlation possible between adaptive template and current data, if the correlation between the different subregions in current data space is very low, the template of this subregion may not comprise the pixel in another subregion; Perhaps based on the consistency in adaptive template, be identified for the size of the adaptive template in current data space, wherein said consistency refers to the difference of the interior pixels of described adaptive template.
2. a kind of motion vector encoder method according to claim 1, it is characterized in that, described adaptive template matching process also comprises and utilizing based on displacement corresponding to fallout predictor in Candidate Set, calculates poor between the template of the data space after displacement in the template in current data space and reference picture.
3. a kind of motion vector encoder method according to claim 1, is characterized in that, in the adaptive template matching process, the shape of described adaptive template is specified.
4. a kind of motion vector encoder method according to claim 1, is characterized in that, after described step 5,, if detect correct motion vector predictor, sends the current motion vector of at least having encoded poor; , if can't detect correct motion vector predictor, send the position as index that the current motion vector of at least having encoded is poor and encoded.
5. a kind of motion vector encoder method according to claim 1, is characterized in that, the Candidate Set of described fallout predictor comprises some proportional room and time fallout predictors.
6. a kind of motion vector encoder method according to claim 1, it is characterized in that, in described step 1, the motion vector adjacent with described motion vector be adjacent with the described motion vector time, space is adjacent, the time and space is adjacent or based on the adjacent motion vector of analysis strategy.
7. the method for the decoding motion vector of having encoded, described motion vector of having encoded is encoded by the method for claim 1, it is characterized in that, comprises the following steps:
Step 1: decoding motion vectors is poor;
Step 2: limit the Candidate Set of fallout predictor, wherein said fallout predictor is based on the motion vector adaptive variation adjacent with described motion vector;
Step 3: utilize matching process to reduce the number of the fallout predictor in described Candidate Set, obtain the remaining predicted device;
step 4: based on the remaining predicted device in described Candidate Set and the motion vector difference of decoding, utilize the guess strategy judgement can determine motion vector predictor, wherein guess strategy refers to that the number of described remaining predicted device is at least 1, motion vector difference to each remaining predicted device and decoding produces an intermediate parameters, N remaining predicted device produced N intermediate parameters, standard based on the minimum movement phasor difference reselects fallout predictor to be selected and obtains new minimum movement phasor difference for each intermediate parameters, if the fallout predictor to be selected that reselects is identical with the remaining predicted device that produces this intermediate parameters, judge that this remaining predicted device is optional fallout predictor, otherwise set this remaining predicted device and be not optional fallout predictor, if the number of optional fallout predictor is 1, this optional fallout predictor is correct motion vector predictor,
Step 5:, if can determine motion vector predictor, utilize motion vector difference and the fixed motion vector predictor of decoding at least to obtain motion vector; If can not determine motion vector predictor, the index and judge motion vector predictor of decoding, utilize the motion vector difference of decoding at least and the motion vector predictor of having judged to obtain motion vector;
Wherein said matching process is the adaptive template matching process, described adaptive template matching process is, be identified for the shape of the adaptive template in current data space based on correlation possible between adaptive template and current data, if the correlation between the different subregions in current data space is very low, the template of this subregion may not comprise the pixel in another subregion; Perhaps based on the consistency in adaptive template, be identified for the size of the adaptive template in current data space, wherein said consistency refers to the difference of the interior pixels of described adaptive template.
8. the method for a kind of decoding according to claim 7 motion vector of having encoded, is characterized in that, the matching process that described matching process adopts during with coding is identical.
9. motion vector encoder device is characterized in that comprising following part:
First selects module, in order to select to form the fallout predictor of Candidate Set, wherein said fallout predictor is based on the motion vector adaptive variation adjacent with described motion vector, in the situation that use a plurality of reference frames, adjacent motion vector before being used as predicting described motion vector, according to its time gap by convergent-divergent pro rata;
The first processing module, receive the described first Candidate Set of selecting the fallout predictor of module, in order to utilize matching process, reduces the number of the fallout predictor in described Candidate Set;
Second selects module, with described the first processing module, is connected, and receives the remaining predicted device in described Candidate Set, based on standard selected optimum fallout predictor in described remaining predicted device of minimum movement phasor difference;
The second processing module, select module to be connected with described second, obtains current motion vector according to the fallout predictor of selected optimum poor, the fallout predictor that this is optimum and current motion vector value differ from minimum;
Detecting module, with described the second processing module be connected processing module and be connected, poor based on remaining predicted device and current motion vector in the described Candidate Set that receives, utilize guess strategy to survey motion vector predictor; Wherein guess strategy refers to that the number of described remaining predicted device is at least 1, to each remaining predicted device and intermediate parameters of the poor generation of current motion vector, N remaining predicted device produced N intermediate parameters, standard based on the minimum movement phasor difference reselects fallout predictor to be selected and obtains new minimum movement phasor difference for each intermediate parameters, if the fallout predictor to be selected that reselects is identical with the remaining predicted device that produces this intermediate parameters, judge that this remaining predicted device is optional fallout predictor, otherwise set this remaining predicted device, be not optional fallout predictor; If the number of optional fallout predictor is 1, this optional fallout predictor is correct motion vector predictor;
Judge module, be connected with described detecting module, judges that the result of detection of detecting module, whether as detecting correct motion vector predictor, sends to coding module with judged result;
Coding module, receive described judged result, if judged result is to detect correct motion vector predictor, encoding, current motion vector is poor at least,, if judged result is to detect correct motion vector predictor, to current motion vector is poor at least, with index, encode;
Wherein said matching process is the adaptive template matching process, described adaptive template matching process is, be identified for the shape of the adaptive template in current data space based on correlation possible between adaptive template and current data, if the correlation between the different subregions in current data space is very low, the template of this subregion may not comprise the pixel in another subregion; Perhaps based on the consistency in adaptive template, be identified for the size of the adaptive template in current data space, wherein said consistency refers to the difference of the interior pixels of described adaptive template.
10. motion vector decoding apparatus is characterized in that comprising following part:
Receiver module, receive the motion vector difference of at least having encoded;
The first decoder module, connect described receiver module, and according to the motion vector difference of at least having encoded that receives, decoding motion vectors is poor;
First selects module, in order to select to form the fallout predictor of Candidate Set, wherein said fallout predictor is based on the motion vector adaptive variation adjacent with described motion vector, in the situation that use a plurality of reference frames, adjacent motion vector before being used as predicting described motion vector, according to its time gap by convergent-divergent pro rata;
The first processing module, receive the described first Candidate Set of selecting the fallout predictor of module, in order to utilize matching process, reduces the number of the fallout predictor in described Candidate Set, obtains the remaining predicted device;
Can judge module, connect described the first processing module and described the first decoder module,, based on the remaining predicted device in described Candidate Set and the motion vector difference of decoding, utilize the guess strategy judgement determine motion vector predictor; Wherein guess strategy refers to that the number of described remaining predicted device is at least 1, motion vector difference to each remaining predicted device and decoding produces an intermediate parameters, N remaining predicted device produced N intermediate parameters, standard based on the minimum movement phasor difference reselects fallout predictor to be selected and obtains new minimum movement phasor difference for each intermediate parameters, if the fallout predictor to be selected that reselects is identical with the remaining predicted device that produces this intermediate parameters, judge that this remaining predicted device is optional fallout predictor, otherwise set this remaining predicted device, be not optional fallout predictor; If the number of optional fallout predictor is 1, this optional fallout predictor is correct motion vector predictor;
The second decoder module, connect described judge module, if can not determine motion vector predictor, and the index of decoding;
Analysis module, connect described the first processing module and the second decoder module, according to the index of decoding, judges motion vector predictor;
The second processing module, connect described judge module, described the first decoder module and described analysis module,, if can determine motion vector predictor, utilizes motion vector difference and the fixed motion vector predictor of decoding to obtain motion vector; Otherwise utilize the motion vector difference of decoding and the motion vector predictor of having judged to obtain motion vector;
Wherein said matching process is the adaptive template matching process, described adaptive template matching process is, be identified for the shape of the adaptive template in current data space based on correlation possible between adaptive template and current data, if the correlation between the different subregions in current data space is very low, the template of this subregion may not comprise the pixel in another subregion; Perhaps based on the consistency in adaptive template, be identified for the size of the adaptive template in current data space, wherein said consistency refers to the difference of the interior pixels of described adaptive template.
CN2010101742829A 2009-12-16 2010-04-30 Method and device for encoding and decoding motion vectors Expired - Fee Related CN101860754B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US28706409P 2009-12-16 2009-12-16
US61/287,064 2009-12-16

Publications (2)

Publication Number Publication Date
CN101860754A CN101860754A (en) 2010-10-13
CN101860754B true CN101860754B (en) 2013-11-13

Family

ID=42946354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101742829A Expired - Fee Related CN101860754B (en) 2009-12-16 2010-04-30 Method and device for encoding and decoding motion vectors

Country Status (1)

Country Link
CN (1) CN101860754B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9445120B2 (en) 2011-04-12 2016-09-13 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US9456217B2 (en) 2011-05-24 2016-09-27 Sun Patent Trust Coding method and apparatus with candidate motion vectors
US9456214B2 (en) 2011-08-03 2016-09-27 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and moving picture coding and decoding apparatus
US9560373B2 (en) 2011-05-31 2017-01-31 Sun Patent Trust Image coding method and apparatus with candidate motion vectors

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071461B (en) * 2010-12-14 2019-11-12 M&K控股株式会社 Devices for decoding moving pictures
GB2487200A (en) 2011-01-12 2012-07-18 Canon Kk Video encoding and decoding with improved error resilience
JP2012147331A (en) * 2011-01-13 2012-08-02 Sony Corp Image processing apparatus and method
CN102651814B (en) * 2011-02-25 2015-11-25 华为技术有限公司 Video encoding/decoding method, coding method and terminal
CN102685479A (en) * 2011-03-11 2012-09-19 华为技术有限公司 Video encoding and decoding processing method and device
CN103535040B (en) 2011-03-21 2017-12-22 Lg电子株式会社 Method of selecting motion vector predictor and device using same
CN102227132B (en) * 2011-05-25 2017-04-12 深圳市云宙多媒体技术有限公司 Motion vector prediction coding and decoding method, apparatus thereof and coding and decoding system
CA2834123C (en) 2011-05-27 2020-02-11 Panasonic Corporation Image coding method, image coding apparatus, image decoding method, image decoding apparatus, and image coding and decoding apparatus
US9485518B2 (en) 2011-05-27 2016-11-01 Sun Patent Trust Decoding method and apparatus with candidate motion vectors
KR20140019448A (en) * 2011-05-31 2014-02-14 가부시키가이샤 제이브이씨 켄우드 Moving image encoding device, moving image encoding method and moving image encoding program, as well as moving image decoding device, moving image decoding method and moving image decoding program
WO2012164908A1 (en) 2011-05-31 2012-12-06 パナソニック株式会社 Video encoding method, video encoding device, video decoding method, video decoding device, and video encoding/decoding device
GB2491589B (en) 2011-06-06 2015-12-16 Canon Kk Method and device for encoding a sequence of images and method and device for decoding a sequence of image
EP3182703A1 (en) * 2011-06-14 2017-06-21 Samsung Electronics Co., Ltd Method and apparatus for encoding motion information and method and apparatus for decoding same
CN102843554A (en) * 2011-06-21 2012-12-26 乐金电子(中国)研究开发中心有限公司 Interframe image prediction encoding and decoding methods and video encoding and decoding device
EP3223523A1 (en) * 2011-06-24 2017-09-27 HFI Innovation Inc. Method and apparatus for removing redundancy in motion vector predictors
TWI587692B (en) * 2011-06-27 2017-06-11 三星電子股份有限公司 Motion information decoding method
MX2013013029A (en) 2011-06-30 2013-12-02 Panasonic Corp Image decoding method, image encoding method, image decoding device, image encoding device, and image encoding/decoding device.
WO2013001793A1 (en) * 2011-06-30 2013-01-03 株式会社Jvcケンウッド Image encoding device, image encoding method, image encoding program, image decoding device, image decoding method, and image decoding program
CN102868889A (en) * 2011-07-06 2013-01-09 乐金电子(中国)研究开发中心有限公司 Interframe image video coding and decoding motion vector predicting method and video codec
GB2493755B (en) * 2011-08-17 2016-10-19 Canon Kk Method and device for encoding a sequence of images and method and device for decoding a sequence of images
CN107295347B (en) * 2011-08-29 2020-06-26 苗太平洋控股有限公司 Apparatus for decoding motion information in merge mode
RU2716231C2 (en) * 2011-09-09 2020-03-06 Кт Корпорейшен Video decoding method
CN103024370B (en) * 2011-09-23 2018-03-23 中兴通讯股份有限公司 A kind of motion vector second-compressed decoding method and device
CN108881903B (en) 2011-10-19 2022-01-04 太阳专利托管公司 Image encoding method and device, image decoding method and device, and encoding and decoding device
KR20130050405A (en) 2011-11-07 2013-05-16 오수미 Method for determining temporal candidate in inter prediction mode
CN104378638B (en) * 2011-11-08 2017-12-01 株式会社Kt The method decoded to the vision signal with current block to be decoded
TWI558176B (en) * 2012-01-18 2016-11-11 Jvc Kenwood Corp A dynamic image coding apparatus, a motion picture coding method, and a motion picture decoding apparatus, a motion picture decoding method, and a motion picture decoding program
BR112014033038A2 (en) * 2012-07-02 2017-06-27 Samsung Electronics Co Ltd motion vector prediction method for inter prediction, and motion vector prediction apparatus for inter prediction
CN111200736B (en) * 2013-06-14 2022-06-21 北京三星通信技术研究有限公司 A method and device for acquiring motion information in video encoding/decoding
US10986360B2 (en) * 2017-10-16 2021-04-20 Qualcomm Incorproated Various improvements to FRUC template matching
WO2023020390A1 (en) * 2021-08-19 2023-02-23 Mediatek Singapore Pte. Ltd. Method and apparatus for low-latency template matching in video coding system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5596370A (en) * 1995-01-16 1997-01-21 Daewoo Electronics Co., Ltd. Boundary matching motion estimation apparatus
CN1358026A (en) * 2000-12-06 2002-07-10 Lg电子株式会社 Two-dimensional minimal bit rate pre-estimating technology for encoding mobile vector
CN1885948A (en) * 2005-06-21 2006-12-27 中国科学院计算技术研究所 Motion vector space prediction method for video coding
CN101198064A (en) * 2007-12-10 2008-06-11 武汉大学 A Motion Vector Prediction Method in Resolution Hierarchical Technology

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5596370A (en) * 1995-01-16 1997-01-21 Daewoo Electronics Co., Ltd. Boundary matching motion estimation apparatus
CN1358026A (en) * 2000-12-06 2002-07-10 Lg电子株式会社 Two-dimensional minimal bit rate pre-estimating technology for encoding mobile vector
CN1885948A (en) * 2005-06-21 2006-12-27 中国科学院计算技术研究所 Motion vector space prediction method for video coding
CN101198064A (en) * 2007-12-10 2008-06-11 武汉大学 A Motion Vector Prediction Method in Resolution Hierarchical Technology

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Jingjing Dai,et al.Motion Vector Coding based on Predictor Selection and Boundary-matching Estimation.《MMSP"09》.2009,全文. *
Jungyoup Yang,et al.Motion vector coding with selection of an optimal predictive motion vector.《Optical Engineering OE letters》.2009,第48卷(第1期),文献第2部分. *
Yan Chen,et al.Video Error Concealment Using Spatio-Temporal Boundary Matching and Partial Differential Equation.《IEEE TRANSACTIONS ON MULTIMEDIA》.2008,第10卷(第1期),文献第2页右栏第2段、第II部分. *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9445120B2 (en) 2011-04-12 2016-09-13 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus and moving picture coding and decoding apparatus
US9456217B2 (en) 2011-05-24 2016-09-27 Sun Patent Trust Coding method and apparatus with candidate motion vectors
US9560373B2 (en) 2011-05-31 2017-01-31 Sun Patent Trust Image coding method and apparatus with candidate motion vectors
US9456214B2 (en) 2011-08-03 2016-09-27 Sun Patent Trust Moving picture coding method, moving picture coding apparatus, moving picture decoding method, moving picture decoding apparatus, and moving picture coding and decoding apparatus

Also Published As

Publication number Publication date
CN101860754A (en) 2010-10-13

Similar Documents

Publication Publication Date Title
CN101860754B (en) Method and device for encoding and decoding motion vectors
CN102362498B (en) Apparatus and method for selectively encoding/decoding syntax elements, and apparatus and method for encoding/decoding images using the same
US8861610B2 (en) Method and apparatus for encoding and decoding motion vector by obtaining motion vector predictor candidate using co-located block
US9544588B2 (en) Method and apparatus for encoding/decoding motion vector
JP5368482B2 (en) Method and apparatus for implicit block partitioning in video encoding and decoding
CN100468982C (en) Method and apparatus for performing high quality fast predictive motion search
WO2021032206A1 (en) Inter-frame prediction method based on merge with motion vector difference (mmvd) mode, video coding method, related device and apparatus
AU2019416266A1 (en) Video encoding and decoding
US20170366807A1 (en) Coding of intra modes
CN101827269B (en) Video encoding method and apparatus
KR20170128613A (en) Encoding method and device, decoding method and device, and computer readable storage medium
TW201701669A (en) Predictive decoding method and predictive decoding device of motion vector
CN118511523A (en) Method, device and medium for video processing
CN102215407B (en) Bilaterally predicted block acquisition method, device and image decoding method
US9654760B2 (en) Encoding device, decoding device, encoding method, and decoding method
CN1319384C (en) Optimizing distribution method in moving evaluation for hardware computing power resource
US20250193438A1 (en) Method, apparatus, and medium for video processing
WO2025189031A1 (en) Method, apparatus, and medium for video processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131113

CF01 Termination of patent right due to non-payment of annual fee
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载