CN102984523A - Multi-directional intra-frame forecast encoding and decoding method and device - Google Patents

Multi-directional intra-frame forecast encoding and decoding method and device Download PDF

Info

Publication number
CN102984523A
CN102984523A CN2012105465379A CN201210546537A CN102984523A CN 102984523 A CN102984523 A CN 102984523A CN 2012105465379 A CN2012105465379 A CN 2012105465379A CN 201210546537 A CN201210546537 A CN 201210546537A CN 102984523 A CN102984523 A CN 102984523A
Authority
CN
China
Prior art keywords
prediction
intra
encoding
pixel
frame
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.)
Granted
Application number
CN2012105465379A
Other languages
Chinese (zh)
Other versions
CN102984523B (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.)
Peking University
Original Assignee
Peking University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University filed Critical Peking University
Priority to CN201210546537.9A priority Critical patent/CN102984523B/en
Publication of CN102984523A publication Critical patent/CN102984523A/en
Application granted granted Critical
Publication of CN102984523B publication Critical patent/CN102984523B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明公开了一种帧内预测编解码方法及装置,该方法包括以下步骤:编码端,对于输入的一个帧内预测单元,根据设定的帧内预测方向,选择为执行该方向的帧内预测所需的参考像素;使用所述参考像素对所述的预测单元,按设定的预测方向进行预测,得到预测单元的像素预测值,所述的像素预测值由所选取的参考像素进行滤波得到;遍历所有的预测方向,对最优的预测方向进行熵编码。解码端,解析帧内预测模式,采用和编码端相同的帧内预测方法得到帧内预测值。

Figure 201210546537

The present invention discloses an intra-frame prediction encoding and decoding method and device. The method includes the following steps: the encoding end, for an input intra-frame prediction unit, selects an intra-frame prediction unit for executing the direction according to a set intra-frame prediction direction. The reference pixels required for prediction; use the reference pixels to predict the prediction unit according to the set prediction direction to obtain the pixel prediction value of the prediction unit, and the pixel prediction value is filtered by the selected reference pixels Obtained; traverse all prediction directions, and perform entropy coding on the optimal prediction direction. The decoding end analyzes the intra-frame prediction mode, and uses the same intra-frame prediction method as the encoding end to obtain an intra-frame prediction value.

Figure 201210546537

Description

一种多方向的帧内预测编解码方法及装置A multi-directional intra-frame prediction encoding and decoding method and device

技术领域 technical field

本发明涉及多媒体视频编解码技术领域,尤其涉及一种多方向的帧内预测编解码方法及装置。The present invention relates to the technical field of multimedia video encoding and decoding, in particular to a multi-directional intra-frame prediction encoding and decoding method and device.

背景技术 Background technique

在视频序列中存在四种冗余:时域冗余,空域冗余,视觉冗余,编码冗余。对于前两种冗余,我们一般采用预测技术来减少这种冗余。按预测方式的不同,预测单元的预测模式可以分为帧内预测和帧间预测。其中,帧内预测是指只利用当前帧的空域信息进行预测编码;而帧间预测则指,利用相邻帧的时域信息进行预测编码。一般来说,帧间预测的准确性要远高于帧内预测,但是对于还没有时域信息或者在时域找不到匹配块的编码块而言,帧内预测就显得尤其重要。例如,对于一个序列的第一帧,或者编码过程中的随机访问点,他们不能参考时域上的信息,而只能采用当前帧的信息进行帧内预测。而且,序列第一帧或者随机访问点的帧的编码性能对整个序列的编码性能尤其重要。因为他们作为后续帧间预测的参考对象,可影响后续帧对的编码。故准确地帧内预测技术在视频编码中有着十分重要的地位。There are four types of redundancy in video sequences: temporal redundancy, spatial redundancy, visual redundancy, and coding redundancy. For the first two types of redundancy, we generally use predictive techniques to reduce this redundancy. According to different prediction modes, the prediction mode of the prediction unit can be divided into intra prediction and inter prediction. Among them, the intra-frame prediction refers to predictive coding by using only the spatial domain information of the current frame; and the inter-frame prediction refers to the predictive coding by using the time-domain information of adjacent frames. Generally speaking, the accuracy of inter-frame prediction is much higher than that of intra-frame prediction, but intra-frame prediction is especially important for coding blocks that have no temporal information or cannot find a matching block in the temporal domain. For example, for the first frame of a sequence, or random access points in the encoding process, they cannot refer to information in the temporal domain, but can only use the information of the current frame for intra-frame prediction. Moreover, the coding performance of the first frame of the sequence or the frame of the random access point is particularly important to the coding performance of the whole sequence. Because they serve as reference objects for subsequent inter-frame prediction, they can affect the encoding of subsequent frame pairs. Therefore, accurate intra-frame prediction technology plays a very important role in video coding.

在现有已发布的视频编码标准中,如H.264、AVS 1.0,其帧内模式最多只有9种(8中方向预测加1种DC模式,如图2所示),帧内预测块的大小最大为16x16。然而在高效视频编码标准和下一代AVS标准AVS2.0中,编码单元(Coding Unit,CU)是视频编码的基本单元。编码单元的采用四叉递归划分模式,编码单元最大可达64x64(如图1(a)所示),而不再是16x16。在每个编码单元中,做预测、变换量化、熵编码、后处理以编码。其中编码单元在做预测的时候,编码单元可以被划分成不同大小的预测单元(Prediction Unit,PU),预测单元是预测的基本单元。编码单元中帧内预测单元的划分如图1(b)所示。帧内预测块的尺寸最大可达64x64,最小为8x8,亦不再是以往标准中的16x16。如果在64x64的帧内预测块中依然采用9种预测模式,预测的准确性将无法得到保证。In the existing published video coding standards, such as H.264 and AVS 1.0, there are only 9 intra-frame modes at most (8 directional prediction plus 1 DC mode, as shown in Figure 2), and the intra-frame prediction block The size is up to 16x16. However, in the high-efficiency video coding standard and the next-generation AVS standard AVS2.0, the coding unit (Coding Unit, CU) is the basic unit of video coding. The coding unit adopts a four-fork recursive division mode, and the coding unit can reach a maximum of 64x64 (as shown in Figure 1(a)), instead of 16x16. In each coding unit, do prediction, transform quantization, entropy coding, post-processing to encode. When the coding unit is making predictions, the coding unit can be divided into prediction units (Prediction Unit, PU) of different sizes, and the prediction unit is the basic unit of prediction. The division of intra prediction units in coding units is shown in Fig. 1(b). The maximum size of the intra prediction block can be 64x64, and the minimum is 8x8, which is no longer 16x16 in previous standards. If the 9 prediction modes are still used in the 64x64 intra prediction block, the accuracy of the prediction cannot be guaranteed.

发明内容 Contents of the invention

为了克服现有技术结构的不足,本发明提供一种多方向的帧内预测编解码方法及装置。In order to overcome the shortcomings of the prior art structure, the present invention provides a multi-directional intra-frame prediction encoding and decoding method and device.

本发明实施例公开了一种帧内预测编解码方法,包括以下步骤:编码端:The embodiment of the present invention discloses an intra-frame prediction encoding and decoding method, which includes the following steps: at the encoding end:

对于输入的一个帧内预测单元,根据设定的帧内预测方向,选择为执行该方向的帧内预测所需的参考像素;For an input intra-frame prediction unit, according to the set intra-frame prediction direction, select reference pixels required for performing intra-frame prediction in this direction;

使用所述参考像素对所述的预测单元,按设定的预测方向进行预测,得到预测单元的像素预测值,所述的像素预测值由所选取的参考像素进行滤波得到;Using the reference pixels to predict the prediction unit according to a set prediction direction to obtain a pixel prediction value of the prediction unit, and the pixel prediction value is obtained by filtering the selected reference pixels;

遍历所有的预测方向,对最优的预测方向进行熵编码;Traversing all prediction directions, entropy coding the optimal prediction direction;

解码端:Decoder:

采用所述编码端熵编码的逆过程解析帧内预测模式;Analyzing the intra prediction mode by using the inverse process of entropy coding at the encoding end;

对于输入的一个帧内预测单元,根据设定的帧内预测方向,选择为执行该方向的帧内预测所需的参考像素;For an input intra-frame prediction unit, according to the set intra-frame prediction direction, select reference pixels required for performing intra-frame prediction in this direction;

使用所述参考像素对所述的预测单元,按设定的预测方向进行预测,得到预测单元的像素预测值,所述的像素预测值由所选取的参考像素进行滤波得到。Using the reference pixels to predict the prediction unit according to the set prediction direction to obtain a pixel prediction value of the prediction unit, and the pixel prediction value is obtained by filtering the selected reference pixels.

进一步,作为优选,将所设定的帧内预测方向通过预测单元的各个像素延长与已编码像素的相交,延长线周围所涉及的像素即选为参考像素。Further, preferably, the set intra-frame prediction direction is extended by each pixel of the prediction unit to intersect with the coded pixel, and the relevant pixels around the extension line are selected as reference pixels.

进一步,作为优选,对一个预测单元使用33个方向预测和一个DC预测。Further, preferably, 33 direction predictions and one DC prediction are used for one prediction unit.

进一步,作为优选,所述的33个方向预测具体为将偏离水平或者垂直方向的角度划分为8份,偏离水平或垂直方向的角度alpha=[3,7,12,18,24,31,38,45]/180*pi。Further, as a preference, the 33 direction predictions specifically divide the angles deviating from the horizontal or vertical direction into 8 parts, and the angles deviating from the horizontal or vertical direction alpha=[3,7,12,18,24,31,38 ,45]/180*pi.

进一步,作为优选,采用1/32的方向精度,所述角度偏离水平或垂直方向的像素距离l=[2,4,7,10,14,19,25,32]。Further, preferably, a direction accuracy of 1/32 is adopted, and the angle deviates from the pixel distance l=[2, 4, 7, 10, 14, 19, 25, 32] in the horizontal or vertical direction.

进一步,作为优选,采用该方向通过待预测像素位置的直线与参考像素所在直线交点周围的3~4个像素进行滤波得到。Further, preferably, the direction is obtained by filtering 3 to 4 pixels around the intersection of the line where the pixel to be predicted and the line where the reference pixel intersects.

进一步,作为优选,所述滤波具体为:4tap插值滤波,该4tap插值滤波器系数值分别为[32-k,64-k,32+k,k]/128,其中k为待预测像素位置的直线与参考像素所在直线交点左边或上边的参考像素点离待预测像素位置的直线与参考像素所在直线交点的距离,k的取值范围为[0,32]。Further, preferably, the filtering is specifically: 4tap interpolation filtering, the 4tap interpolation filter coefficient values are respectively [32-k, 64-k, 32+k, k]/128, where k is the pixel position to be predicted The distance between the reference pixel point on the left or above of the intersection point of the straight line and the reference pixel and the intersection point of the straight line where the pixel position is to be predicted and the straight line where the reference pixel is located. The value range of k is [0,32].

进一步,作为优选,当待预测像素位置的直线与参考像素所在直线交点为一个整像素的点的时候,即k为0或32,4tap的滤波器退化成一个3tap的滤波器,滤波器系数为[1,2,1]。Further, as a preference, when the intersection point of the straight line where the pixel position to be predicted and the straight line where the reference pixel is located is an integer pixel point, that is, k is 0 or 32, the 4tap filter degenerates into a 3tap filter, and the filter coefficient is [1,2,1].

进一步,作为优选,所述熵编码具体为:对所述帧内预测方向进行二值化,然后熵编码,对帧内预测方向按出现的概率从高到低的顺序排序,对概率高的方向分配较短的码字,对出现概率低的方向分配相对较长的码字。Further, preferably, the entropy encoding specifically includes: performing binarization on the intra-frame prediction directions, and then entropy encoding, sorting the intra-frame prediction directions in order of occurrence probability from high to low, and sorting the directions with high probability Shorter codewords are assigned, and relatively longer codewords are assigned to directions with low occurrence probability.

另一方面,本发明实施例还提供了一种多方向帧内预测编解码装置,该装置包括:On the other hand, an embodiment of the present invention also provides a multi-directional intra prediction coding and decoding device, which includes:

编码端参考像素选择单元,根据预测模式选择执行预测过程所需要的参考像素;The reference pixel selection unit at the encoding end selects the reference pixels required for performing the prediction process according to the prediction mode;

编码端预测单元预测值获取单元,根据预测方向和当前预测像素所在的位置,选择预测当前像素值所需要的参考像素并执行插值滤波过程得到预测值;The prediction value acquisition unit of the prediction unit at the encoding end selects the reference pixel required to predict the current pixel value according to the prediction direction and the position of the current prediction pixel, and performs an interpolation filtering process to obtain the prediction value;

编码端代价函数计算单元,计算各个预测模式的编码代价,选择编码代价最小的预测模式作为最终的编码模式;The cost function calculation unit at the encoding end calculates the encoding cost of each prediction mode, and selects the prediction mode with the smallest encoding cost as the final encoding mode;

编码端帧内预测模式熵编码单元,将编码端得到的最优编码模式进行熵编码,输出码流;The intra prediction mode entropy encoding unit at the encoding end performs entropy encoding on the optimal encoding mode obtained at the encoding end, and outputs a code stream;

解码端帧内预测模式熵解码单元,采用所述编码端熵编码的逆过程解析帧内预测模式从码流中解析得到帧内预测模式;The intra-frame prediction mode entropy decoding unit at the decoding end uses the inverse process of entropy encoding at the encoding end to analyze the intra-frame prediction mode and obtain the intra-frame prediction mode from the code stream;

解码端代价函数计算单元,计算各个预测模式的解码代价,选择解码代价最小的预测模式作为最终的解码模式;The cost function calculation unit at the decoding end calculates the decoding cost of each prediction mode, and selects the prediction mode with the smallest decoding cost as the final decoding mode;

解码端参考像素选择单元,根据预测模式选择执行预测过程所需要的参考像素;The reference pixel selection unit at the decoding end selects the reference pixels required for performing the prediction process according to the prediction mode;

解码端预测单元预测值获取单元,根据预测方向和当前预测像素所在的位置,选择预测当前像素值所需要的参考像素并执行插值滤波过程得到预测值。The prediction value acquisition unit of the prediction unit at the decoding end selects the reference pixel required to predict the current pixel value according to the prediction direction and the position of the current prediction pixel, and performs an interpolation filtering process to obtain a prediction value.

优选的,所述参考像素选择单元根据当前预测模式的需要进行选择。当前预测方向通过预测单元的各个像素延长与已编码像素的相交,延长线周围所涉及的像素即选为参考像素。Preferably, the reference pixel selection unit selects according to the needs of the current prediction mode. The current prediction direction is extended by each pixel of the prediction unit to intersect with the encoded pixel, and the pixels involved around the extension line are selected as reference pixels.

优选的,所述预测单元预测值获取单元,采用该方向通过待预测像素位置的直线与参考像素所在直线交点A周围的3~4个像素进行滤波得到。所述滤波器为一个4tap的插值滤波器,滤波器的系数与参考像素点与A点距离有关。所述4tap滤波器系数值分别为[32-k,64-k,32+k,k]/128,其中k为A点左边/上边的参考像素点离A点的距离,k的取值范围为[0,32]。当A点为一个整像素的点的时候,即k为0或32,4tap的滤波器退化成一个3tap的滤波器,滤波器系数为[1,2,1]。Preferably, the predicted value acquisition unit of the prediction unit is obtained by filtering 3 to 4 pixels around the intersection point A of the straight line where the pixel position to be predicted and the straight line where the reference pixel is located by using this direction. The filter is a 4tap interpolation filter, and the coefficient of the filter is related to the distance between the reference pixel point and point A. The 4tap filter coefficient values are respectively [32-k, 64-k, 32+k, k]/128, where k is the distance from the reference pixel point on the left/upper side of point A to point A, and the value range of k is [0,32]. When point A is an integer pixel point, that is, k is 0 or 32, the 4tap filter degenerates into a 3tap filter, and the filter coefficient is [1,2,1].

优选的,所述预测模式熵编码单元对帧内预测方向按出现的概率从高到低的顺序排序,对概率高的方向分配较短的码字,对出现概率低的方向分配相对较长的码字。Preferably, the prediction mode entropy coding unit sorts the intra-frame prediction directions in order of occurrence probability from high to low, assigns shorter codewords to directions with high probability, and assigns relatively longer codewords to directions with low occurrence probability. Codeword.

优选的,在本发明以实施例中,所述解码端预测模式解析单元解析码流中的比特,得到帧内预测模式的二元码,根据该二元码得到对应的帧内预测模式。Preferably, in an embodiment of the present invention, the prediction mode analysis unit at the decoding end analyzes bits in the code stream to obtain a binary code of an intra prediction mode, and obtains a corresponding intra prediction mode according to the binary code.

再一方面,本发明实施例还提供了一种多方向帧内预测编码的实现系统,该系统包括:In yet another aspect, an embodiment of the present invention also provides a system for implementing multi-directional intra-frame predictive coding, the system including:

编码器,用于在编码过程中,对一个预测单元,得到其所有预测模式下的预测值,并计算各个预测模式的编码代价,选择最优的编码模式进行熵编码,输出码流;The encoder is used to obtain the prediction values of a prediction unit in all prediction modes during the encoding process, calculate the encoding cost of each prediction mode, select the optimal encoding mode for entropy encoding, and output the code stream;

解码器,用于在解码过程中,首先进行熵解码,得到其帧内预测模式,用该帧内预测模式对当前预测单元进行预测得到预测值。The decoder is configured to perform entropy decoding first in the decoding process to obtain its intra-frame prediction mode, and use the intra-frame prediction mode to predict the current prediction unit to obtain a prediction value.

本发明通过将预测方向增加到34种(33种方向预测和1个DC模式),并设计了多方向预测中参考像素选择、插值滤波器和方向编码的方法,解决了大尺寸的预测预测精度达不到要求的问题。本发明可以得到更准确的预测值,从而减小了预测的残差,能够提高5.1%的编码效率。The present invention solves the large-scale prediction prediction accuracy by increasing the prediction direction to 34 (33 direction prediction and 1 DC mode), and designing the method of reference pixel selection, interpolation filter and direction coding in multi-direction prediction Issues that do not meet requirements. The present invention can obtain more accurate prediction value, thereby reducing the residual error of prediction, and can improve the coding efficiency by 5.1%.

附图说明 Description of drawings

当结合附图考虑时,通过参照下面的详细描述,能够更完整更好地理解本发明以及容易得知其中许多伴随的优点,但此处所说明的附图用来提供对本发明的进一步理解,构成本发明的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定,其中:A more complete and better understanding of the invention, and many of its attendant advantages, will readily be learned by reference to the following detailed description when considered in conjunction with the accompanying drawings, but the accompanying drawings illustrated herein are intended to provide a further understanding of the invention and constitute A part of the present invention, the exemplary embodiment of the present invention and its description are used to explain the present invention, and do not constitute an improper limitation of the present invention, wherein:

图1(a)为AVS2现有技术编码单元划分示意图。FIG. 1( a ) is a schematic diagram of coding unit division in the prior art of AVS2.

图1(b)为AVS2另一现有技术预测单元划分示意图。Fig. 1(b) is a schematic diagram of prediction unit division in another prior art of AVS2.

图2为现有技术帧内方向预测示意图。Fig. 2 is a schematic diagram of intra-frame directional prediction in the prior art.

图3(a)为本发明实施例多方向的帧内预测编码方法流程图。FIG. 3( a ) is a flowchart of a multi-directional intra-frame prediction coding method according to an embodiment of the present invention.

图3(b)为本发明实施例多方向的帧内预测解码方法流程图。FIG. 3( b ) is a flowchart of a multi-directional intra-frame prediction decoding method according to an embodiment of the present invention.

图4为本发明实施例多方向的帧内预测解码方法中参考像素获取示意图。FIG. 4 is a schematic diagram of reference pixel acquisition in a multi-directional intra prediction decoding method according to an embodiment of the present invention.

图5为本发明实施例多方向的帧内预测编码方法中方向预测示意图。FIG. 5 is a schematic diagram of directional prediction in a multi-directional intra-frame prediction encoding method according to an embodiment of the present invention.

图6为本发明实施例多方向的帧内预测编码方法中插值滤波示意图。FIG. 6 is a schematic diagram of interpolation filtering in a multi-directional intra-frame prediction encoding method according to an embodiment of the present invention.

图7为本发明实施例二值化示意图。Fig. 7 is a schematic diagram of binarization according to an embodiment of the present invention.

图8(a)为本发明实施例多方向帧内预测编码装置结构示意图。FIG. 8( a ) is a schematic structural diagram of a multi-directional intra-frame prediction encoding device according to an embodiment of the present invention.

图8(b)为本发明实施例多方向帧内预测解码装置结构示意图。Fig. 8(b) is a schematic structural diagram of a multi-directional intra-frame prediction decoding device according to an embodiment of the present invention.

具体实施方式 Detailed ways

参照图1-8对本发明的实施例进行说明。Embodiments of the present invention will be described with reference to FIGS. 1-8.

为使上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

如图3(a)所示,一种帧内预测编码方法,包括以下步骤:As shown in Figure 3(a), an intra-frame prediction coding method includes the following steps:

S31、对于编码端的一预测单元,初始化当前预测模式为-1,将当前预测模式的序号加1;S31. For a prediction unit at the encoding end, initialize the current prediction mode to -1, and add 1 to the sequence number of the current prediction mode;

S32、为所述的帧内预测模式选择预测所需要的参考像素;S32. Select reference pixels required for prediction for the intra prediction mode;

S33、用所述的参考像素预测得到预测单元的预测值;S33. Obtain the prediction value of the prediction unit by using the reference pixel prediction;

S34、计算所述帧内预测模式的编码代价,选择当前最优的编码模式;S34. Calculate the coding cost of the intra prediction mode, and select the current optimal coding mode;

S35、如果所述帧内预测模式的序号大于等于设定值,则执行S36,否则跳到S31;S35. If the sequence number of the intra-frame prediction mode is greater than or equal to the set value, execute S36, otherwise skip to S31;

S36、编码所述最优帧内预测模式,将其输出到码流。S36. Encode the optimal intra-frame prediction mode, and output it to a code stream.

如图3(b)所示,一种帧内预测解码方法,包括以下步骤:As shown in Figure 3(b), an intra prediction decoding method includes the following steps:

S37、对于解码端的一帧内预测单元,解析得到当前预测单元的帧内预测模式;S37. For an intra prediction unit at the decoding end, analyze and obtain an intra prediction mode of the current prediction unit;

S38、为所述的帧内预测模式选择预测所需要的参考像素;S38. Select reference pixels required for prediction for the intra prediction mode;

S39、用所述的参考像素预测得到预测单元的预测值。S39. Obtain the prediction value of the prediction unit by using the reference pixel prediction.

对于编码端,所述帧内预测模式的设定值为34,其方向如图5所示。如图4所示为参考像素获取示意图。如图6所示为中插值滤波示意图。如图7和表1为二值化示意图和方案。For the encoding end, the set value of the intra prediction mode is 34, and its direction is shown in FIG. 5 . Figure 4 is a schematic diagram of reference pixel acquisition. Figure 6 is a schematic diagram of interpolation filtering. Figure 7 and Table 1 are the schematic diagram and scheme of binarization.

表1.帧内编码模式的编码Table 1. Coding in Intra Coding Mode

  IntraLumaPredMode IntraLumaPredMode   Index Index   0 0   0 0   1 1   3 3   2 2   33 33   3 3   29 29   4 4   25 25   5 5   21 twenty one   6 6   17 17   7 7   13 13   8 8   9 9   9 9   2 2   10 10   8 8   11 11   12 12   12 12   16 16   13 13   20 20   14 14   24 twenty four   15 15   28 28   16 16   32 32   17 17   5 5   18 18   30 30   19 19   26 26   20 20   22 twenty two   21 twenty one   18 18

  22 twenty two   14 14   23 twenty three   10 10   24 twenty four   6 6   25 25   1 1   26 26   7 7   27 27   11 11   28 28   15 15   29 29   19 19   30 30   23 twenty three   31 31   27 27   32 32   31 31   33 33   4 4

优选的,参考像素的采用当前预测方向通过预测单元的各个像素延长与已编码像素的相交,延长线周围所涉及的像素。Preferably, the current prediction direction of the reference pixel is extended through each pixel of the prediction unit to intersect with the encoded pixel, and the pixels involved around the extension line are extended.

优选的,帧内预测块的一个方向上的像素预测值,采用该方向通过待预测像素位置的直线与参考像素所在直线交点A周围的3-4个像素进行滤波得到。所述滤波器为一个4tap的插值滤波器,滤波器的系数与参考像素点与A点距离有关。所述4tap滤波器系数值分别为[32-k,64-k,32+k,k]/128,其中k为A点左边/上边的参考像素点离A点的距离,k的取值范围为[0,32]。当A点为一个整像素的点的时候,即k为0或32,4tap的滤波器退化成一个3tap的滤波器,滤波器系数为[1,2,1]。Preferably, the pixel prediction value in one direction of the intra prediction block is obtained by filtering 3-4 pixels around the intersection point A of the straight line where the pixel position to be predicted and the straight line where the reference pixel is located by using the direction. The filter is a 4tap interpolation filter, and the coefficient of the filter is related to the distance between the reference pixel point and point A. The 4tap filter coefficient values are respectively [32-k, 64-k, 32+k, k]/128, where k is the distance from the reference pixel point on the left/upper side of point A to point A, and the value range of k is [0,32]. When point A is an integer pixel point, that is, k is 0 or 32, the 4tap filter degenerates into a 3tap filter, and the filter coefficient is [1,2,1].

如图8(a)所示,为本发明实施例多方向帧内预测编码装置结构示意图,该装置包括:As shown in Figure 8(a), it is a schematic structural diagram of a multi-directional intra-frame predictive encoding device according to an embodiment of the present invention. The device includes:

编码端参考像素选择单元81,用于对于编码端的预测单元的一种帧内预测模式选择预测所需要的参考像素;The encoding end reference pixel selection unit 81 is configured to select reference pixels required for prediction for an intra prediction mode of the prediction unit at the encoding end;

编码端预测单元预测值获取单元82,用于采用所述帧内预测模式对所述预测单元中的每一个像素获取预测值;A prediction unit prediction value acquisition unit 82 at the coding end, configured to obtain a prediction value for each pixel in the prediction unit by using the intra prediction mode;

编码端代价函数计算单元83,用于计算采用所述帧内预测模式编码的编码代价,以选择编码代价最小的帧内预测模式作为最优预测模式;The encoding end cost function calculation unit 83 is used to calculate the encoding cost of encoding using the intra-frame prediction mode, so as to select the intra-frame prediction mode with the smallest encoding cost as the optimal prediction mode;

编码端帧内预测模式熵编码单元84,用于对所述最优预测模式进行二值化和熵编码,并输出到码流。The intra prediction mode entropy coding unit 84 at the coding end is configured to perform binarization and entropy coding on the optimal prediction mode, and output to a code stream.

如图8(b)所示,为本发明实施例多方向帧内预测解码装置结构示意图,该装置包括:As shown in Figure 8(b), it is a schematic structural diagram of a multi-directional intra-frame prediction decoding device according to an embodiment of the present invention, and the device includes:

解码端帧内预测模式解析单元85,用于解析码流中的比特,得到帧内预测模式;The intra-frame prediction mode analysis unit 85 at the decoding end is used to analyze the bits in the code stream to obtain the intra-frame prediction mode;

解码端参考像素选择单元86,用于对于编码端的预测单元的一种帧内预测模式选择预测所需要的参考像素;The reference pixel selection unit 86 at the decoding end is configured to select reference pixels required for prediction for an intra prediction mode of the prediction unit at the encoding end;

解码端预测单元预测值获取单元87,用于采用所述帧内预测模式对所述预测单元中的每一个像素获取预测值。The prediction unit prediction value acquisition unit 87 at the decoding end is configured to obtain a prediction value for each pixel in the prediction unit by using the intra prediction mode.

优选的,所述参考像素选择单元根据当前预测模式的需要进行选择。当前预测方向通过预测单元的各个像素延长与已编码像素的相交,延长线周围所涉及的像素即选为参考像素。Preferably, the reference pixel selection unit selects according to the needs of the current prediction mode. The current prediction direction is extended by each pixel of the prediction unit to intersect with the encoded pixel, and the pixels involved around the extension line are selected as reference pixels.

优选的,所述预测单元预测值获取单元,采用该方向通过待预测像素位置的直线与参考像素所在直线交点A周围的3~4个像素进行滤波得到。所述滤波器为一个4tap的插值滤波器,滤波器的系数与参考像素点与A点距离有关。所述4tap滤波器系数值分别为[32-k,64-k,32+k,k]/128,其中k为A点左边/上边的参考像素点离A点的距离,k的取值范围为[0,32]。当A点为一个整像素的点的时候,即k为0或32,4tap的滤波器退化成一个3tap的滤波器,滤波器系数为[1,2,1]。Preferably, the predicted value acquisition unit of the prediction unit is obtained by filtering 3 to 4 pixels around the intersection point A of the straight line where the pixel position to be predicted and the straight line where the reference pixel is located by using this direction. The filter is a 4tap interpolation filter, and the coefficient of the filter is related to the distance between the reference pixel point and point A. The 4tap filter coefficient values are respectively [32-k, 64-k, 32+k, k]/128, where k is the distance from the reference pixel point on the left/upper side of point A to point A, and the value range of k is [0,32]. When point A is an integer pixel point, that is, k is 0 or 32, the 4tap filter degenerates into a 3tap filter, and the filter coefficient is [1,2,1].

优选的,所述预测模式熵编码单元对帧内预测方向按出现的概率从高到低的顺序排序,对概率高的方向分配较短的码字,对出现概率低的方向分配相对较长的码字。其码字的分配方案如图1和表1所示。Preferably, the prediction mode entropy coding unit sorts the intra-frame prediction directions in order of occurrence probability from high to low, assigns shorter codewords to directions with high probability, and assigns relatively longer codewords to directions with low occurrence probability. Codeword. The allocation scheme of its code words is shown in Figure 1 and Table 1.

优选的,所述解码端预测模式解析单元解析码流中的比特,得到帧内预测模式的二元码,根据该二元码得到对应的帧内预测模式。Preferably, the prediction mode analysis unit at the decoding end analyzes the bits in the code stream to obtain a binary code of the intra prediction mode, and obtains the corresponding intra prediction mode according to the binary code.

再一方面,本发明实施例还提供了一种多方向帧内预测编码的实现系统,所述多方向帧内预测编码系统包括:编码器,用于在编码过程中,对一个预测单元,得到其所有预测模式下的预测值,并计算各个预测模式的编码代价,选择最优的编码模式进行熵编码,输出码流;解码器,用于在解码过程中,首先进行熵解码,得到其帧内预测模式,用该帧内预测模式对当前预测单元进行预测得到预测值。In yet another aspect, the embodiment of the present invention also provides a system for implementing multi-directional intra-frame predictive coding. The multi-directional intra-frame predictive coding system includes: an encoder, configured to obtain, for a prediction unit during the coding process, Its prediction values in all prediction modes, and calculate the encoding cost of each prediction mode, select the optimal encoding mode for entropy encoding, and output the code stream; the decoder is used to perform entropy decoding first in the decoding process to obtain its frame An intra prediction mode, using the intra prediction mode to predict the current prediction unit to obtain a prediction value.

优选的,所述编码器尝试的帧内预测模式的种类为34种;预测过程中根据预测模式的需要选择参考像素;预测值的获取采用4tap的滤波器,滤波器系数为[32-k,64-k,32+k,k]/128;对最优预测模式的二元码进行熵编码,二元码采用截断变长码,码长依据该编码模式为最优编码模式的概率来确定。Preferably, there are 34 types of intra-frame prediction modes tried by the encoder; reference pixels are selected according to the needs of the prediction mode during the prediction process; the prediction value is acquired using a 4tap filter, and the filter coefficient is [32-k, 64-k,32+k,k]/128; perform entropy coding on the binary code of the optimal prediction mode, the binary code adopts a truncated variable-length code, and the code length is determined according to the probability that the coding mode is the optimal coding mode .

优选的,所述解码器解析码流中帧内预测模式;用该帧内预测模式,采用和编码端相同的方法得到预测值。Preferably, the decoder parses the intra-frame prediction mode in the code stream; using the intra-frame prediction mode, the prediction value is obtained by using the same method as that of the encoder.

实验结果:Experimental results:

本发明实施例在RD1.0(AVS2标准的参考软件)上完成技术实现。在实验中,采用AVS2的通用测试条件,测试长度为2s序列,全I帧配置。实验平台是Intel(R)Xeon(R)CPU X56602.80GHZ 2.79GHZ23.9G内存。表2表示采用本发明中的多方向帧内预测编码方法的编码性能。1080p、WVGA、WQVGA、720p分别表示分辨率为1920x1080、832x480、416x240、1280x720的测试序。编码性能的度量采用BD-rate,即在相同编码质量的情况下的码率节省。从实验结果来看,采用本发明实施例上述方案,相对于原编码器,在相同编码质量时,平均节省5.1%的码率。The embodiment of the present invention completes technical realization on RD1.0 (the reference software of AVS2 standard). In the experiment, the general test condition of AVS2 is adopted, the test length is 2s sequence, and all I frame configurations. The experimental platform is Intel(R) Xeon(R) CPU X5660 2.80GHZ 2.79GHZ23.9G memory. Table 2 shows the coding performance of the multi-directional intra-frame prediction coding method in the present invention. 1080p, WVGA, WQVGA, and 720p represent test sequences with resolutions of 1920x1080, 832x480, 416x240, and 1280x720, respectively. The measurement of coding performance adopts BD-rate, that is, the bit rate saving in the case of the same coding quality. According to the experimental results, using the above scheme of the embodiment of the present invention, compared with the original encoder, when the encoding quality is the same, the code rate can be saved by an average of 5.1%.

表2.性能比较Table 2. Performance Comparison

Figure BDA00002591154800121
Figure BDA00002591154800121

本领域技术人员还可以了解到本发明实施例列出的各种说明性逻辑块(illustrative logicalblock)、单元和步骤可以通过电子硬件、电脑软件,或两者的结合进行实现。为清楚展示硬件和软件的可替换性(interchangeability),上述的各种说明性部件(illustrative components),单元和步骤已经通用地描述了它们的功能。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本发明实施例保护的范围。Those skilled in the art can also understand that various illustrative logical blocks (illustrative logical blocks), units and steps listed in the embodiments of the present invention can be implemented by electronic hardware, computer software, or a combination of both. To clearly demonstrate the interchangeability of hardware and software, the various illustrative components, units and steps above have generically described their functions. Whether such functions are implemented by hardware or software depends on the specific application and overall system design requirements. Those skilled in the art may use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the protection scope of the embodiments of the present invention.

本发明实施例中所描述的各种说明性的逻辑块,或单元都可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。The various illustrative logic blocks or units described in the embodiments of the present invention can be implemented by general-purpose processors, digital signal processors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to implement or operate the described functions. The general-purpose processor may be a microprocessor, and optionally, the general-purpose processor may also be any conventional processor, controller, microcontroller or state machine. A processor may also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration to accomplish.

本发明实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件模块、或者这两者的结合。软件模块可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于用户终端中。可选地,处理器和存储媒介也可以设置于用户终端中的不同的部件中。The steps of the method or algorithm described in the embodiments of the present invention may be directly embedded in hardware, a software module executed by a processor, or a combination of both. The software modules may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM or any other storage medium in the art. Exemplarily, the storage medium can be connected to the processor, so that the processor can read information from the storage medium, and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be set in the ASIC, and the ASIC can be set in the user terminal. Optionally, the processor and the storage medium may also be set in different components in the user terminal.

在一个或多个示例性的设计中,本发明实施例所描述的上述功能可以在硬件、软件、固件或这三者的任意组合来实现。如果在软件中实现,这些功能可以存储与电脑可读的媒介上,或以一个或多个指令或代码形式传输于电脑可读的媒介上。电脑可读媒介包括电脑存储媒介和便于使得让电脑程序从一个地方转移到其它地方的通信媒介。存储媒介可以是任何通用或特殊电脑可以接入访问的可用媒体。例如,这样的电脑可读媒体可以包括但不限于RAM、ROM、EEPROM、CD-ROM或其它光盘存储、磁盘存储或其它磁性存储装置,或其它任何可以用于承载或存储以指令或数据结构和其它可被通用或特殊电脑、或通用或特殊处理器读取形式的程序代码的媒介。此外,任何连接都可以被适当地定义为电脑可读媒介,例如,如果软件是从一个网站站点、服务器或其它远程资源通过一个同轴电缆、光纤电脑、双绞线、数字用户线(DSL)或以例如红外、无线和微波等无线方式传输的也被包含在所定义的电脑可读媒介中。所述的碟片(disk)和磁盘(disc)包括压缩磁盘、镭射盘、光盘、DVD、软盘和蓝光光盘,磁盘通常以磁性复制数据,而碟片通常以激光进行光学复制数据。上述的组合也可以包含在电脑可读媒介中。In one or more exemplary designs, the above functions described in the embodiments of the present invention may be implemented in hardware, software, firmware or any combination of the three. If implemented in software, the functions can be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special computer. For example, such computer-readable media may include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other device that can be used to carry or store instructions or data structures and Other medium of program code in a form readable by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. In addition, any connection is properly defined as a computer-readable medium, for example, if the software is transmitted from a web site, server, or other remote source via a coaxial cable, fiber optic computer, twisted pair, digital subscriber line (DSL) Or transmitted by wireless means such as infrared, wireless and microwave are also included in the definition of computer readable media. Disks and discs include compact discs, laser discs, optical discs, DVDs, floppy discs, and Blu-ray discs. Disks usually reproduce data magnetically, while discs usually reproduce data optically with lasers. Combinations of the above can also be contained on a computer readable medium.

虽然以上描述了本发明的具体实施方式,但是本领域的技术人员应当理解,这些具体实施方式仅是举例说明,本领域的技术人员在不脱离本发明的原理和实质的情况下,可以对上述方法和系统的细节进行各种省略、替换和改变。例如,合并上述方法步骤,从而按照实质相同的方法执行实质相同的功能以实现实质相同的结果则属于本发明的范围。因此,本发明的范围仅由所附权利要求书限定。Although the specific embodiments of the present invention have been described above, those skilled in the art should understand that these specific embodiments are only for illustration, and those skilled in the art can make the above-mentioned Various omissions, substitutions, and changes were made in the details of the methods and systems. For example, it is within the scope of the present invention to combine the above method steps so as to perform substantially the same function in substantially the same way to achieve substantially the same result. Accordingly, the scope of the invention is limited only by the appended claims.

Claims (10)

1.一种帧内预测编解码方法,其特征在于,包括以下步骤:1. A method for encoding and decoding intra-frame prediction, comprising the following steps: 编码端:Encoder: 对于输入的一个帧内预测单元,根据设定的帧内预测方向,选择为执行该方向的帧内预测所需的参考像素;For an input intra-frame prediction unit, according to the set intra-frame prediction direction, select reference pixels required for performing intra-frame prediction in this direction; 使用所述参考像素对所述的预测单元,按设定的预测方向进行预测,得到预测单元的像素预测值,所述的像素预测值由所选取的参考像素进行滤波得到;Using the reference pixels to predict the prediction unit according to a set prediction direction to obtain a pixel prediction value of the prediction unit, and the pixel prediction value is obtained by filtering the selected reference pixels; 遍历所有的预测方向,对最优的预测方向进行熵编码;Traversing all prediction directions, entropy coding the optimal prediction direction; 解码端:Decoder: 采用所述编码端熵编码的逆过程解析帧内预测模式;Analyzing the intra prediction mode by using the inverse process of entropy coding at the encoding end; 对于输入的一个帧内预测单元,根据设定的帧内预测方向,选择为执行该方向的帧内预测所需的参考像素;For an input intra-frame prediction unit, according to the set intra-frame prediction direction, select reference pixels required for performing intra-frame prediction in this direction; 使用所述参考像素对所述的预测单元,按设定的预测方向进行预测,得到预测单元的像素预测值,所述的像素预测值由所选取的参考像素进行滤波得到。Using the reference pixels to predict the prediction unit according to the set prediction direction to obtain a pixel prediction value of the prediction unit, and the pixel prediction value is obtained by filtering the selected reference pixels. 2.根据权利要求1所述帧内预测编解码方法,其特征在于,将所设定的帧内预测方向通过预测单元的各个像素延长与已编码像素的相交,延长线周围所涉及的像素即选为参考像素。2. The intra-frame prediction encoding and decoding method according to claim 1, wherein the set intra-frame prediction direction is extended by each pixel of the prediction unit to intersect with the encoded pixel, and the pixels involved around the extension line are selected as reference pixels. 3.根根据权利要求1所述帧内预测编解码方法,其特征在于,对一个预测单元使用33个方向预测和一个DC预测。3. The intra prediction encoding and decoding method according to claim 1, wherein 33 direction predictions and one DC prediction are used for one prediction unit. 4.根根据权利要求3所述帧内预测编解码方法,其特征在于,所述的33个方向预测具体为将偏离水平或者垂直方向的角度划分为8份,偏离水平或垂直方向的角度alpha=[3,7,12,18,24,31,38,45]/180*pi。4. The intra-frame prediction encoding and decoding method according to claim 3, wherein the prediction of the 33 directions is specifically to divide the angle deviating from the horizontal or vertical direction into 8 parts, and the angle alpha deviating from the horizontal or vertical direction =[3,7,12,18,24,31,38,45]/180*pi. 5.根根据权利要求4所述帧内预测编解码方法,其特征在于,采用1/32的方向精度,所述角度偏离水平或垂直方向的像素距离l=[2,4,7,10,14,19,25,32]。5. According to the described intra-frame prediction encoding and decoding method according to claim 4, it is characterized in that, adopting 1/32 direction accuracy, the pixel distance l=[2,4,7,10, 14,19,25,32]. 6.根根据权利要求1所述帧内预测编解码方法,其特征在于,采用该方向通过待预测像素位置的直线与参考像素所在直线交点周围的3~4个像素进行滤波得到。6. The intra-frame predictive encoding and decoding method according to claim 1, characterized in that the direction is obtained by filtering 3 to 4 pixels around the intersection of the straight line at the position of the pixel to be predicted and the straight line where the reference pixel is located. 7.根根据权利要求6所述帧内预测编解码方法,其特征在于,所述滤波具体为:4tap插值滤波,该滤波器系数值分别为[32-k,64-k,32+k,k]/128,其中k为待预测像素位置的直线与参考像素所在直线交点左边或上边的参考像素点离待预测像素位置的直线与参考像素所在直线交点的距离,k的取值范围为[0,32]。7. According to the intra-frame prediction encoding and decoding method according to claim 6, it is characterized in that the filtering is specifically: 4tap interpolation filtering, and the filter coefficient values are respectively [32-k, 64-k, 32+k, k]/128, where k is the distance between the reference pixel point on the left or above of the intersection of the straight line at the pixel position to be predicted and the straight line where the reference pixel is located, and the intersection of the straight line at the pixel position to be predicted and the straight line where the reference pixel is located, and the value range of k is [ 0,32]. 8.根根据权利要求6或7所述帧内预测编解码方法,其特征在于,当待预测像素位置的直线与参考像素所在直线交点为一个整像素的点的时候,即k为0或32,4tap的滤波器退化成一个3tap的滤波器,滤波器系数为[1,2,1]。8. According to the intra-frame prediction encoding and decoding method according to claim 6 or 7, it is characterized in that, when the intersection point of the straight line where the pixel position to be predicted and the straight line where the reference pixel is located is an integer pixel point, that is, k is 0 or 32 , the 4tap filter degenerates into a 3tap filter with filter coefficients [1,2,1]. 9.根根据权利要求1至7任意一项所述帧内预测编解码方法,其特征在于,所述熵编码具体为:对所述帧内预测方向进行二值化,然后熵编码,对帧内预测方向按出现的概率从高到低的顺序排序,对概率高的方向分配较短的码字,对出现概率低的方向分配相对较长的码字。9. The intra-frame prediction encoding and decoding method according to any one of claims 1 to 7, wherein the entropy encoding specifically includes: performing binarization on the intra-frame prediction direction, and then entropy encoding, to frame The intra-prediction directions are sorted in descending order of occurrence probability, and shorter codewords are assigned to directions with higher probability, and relatively longer codewords are assigned to directions with lower probability of occurrence. 10.一种多方向帧内预测编解码装置,该装置包括:10. A multi-directional intra-frame prediction coding and decoding device, the device comprising: 编码端参考像素选择单元,根据预测模式选择执行预测过程所需要的参考像素;The reference pixel selection unit at the encoding end selects the reference pixels required for performing the prediction process according to the prediction mode; 编码端预测单元预测值获取单元,根据预测方向和当前预测像素所在的位置,选择预测当前像素值所需要的参考像素并执行插值滤波过程得到预测值;The prediction value acquisition unit of the prediction unit at the encoding end selects the reference pixel required to predict the current pixel value according to the prediction direction and the position of the current prediction pixel, and performs an interpolation filtering process to obtain the prediction value; 编码端代价函数计算单元,计算各个预测模式的编码代价,选择编码代价最小的预测模式作为最终的编码模式;The cost function calculation unit at the encoding end calculates the encoding cost of each prediction mode, and selects the prediction mode with the smallest encoding cost as the final encoding mode; 编码端帧内预测模式熵编码单元,将编码端得到的最优编码模式进行熵编码,输出码流;The intra prediction mode entropy encoding unit at the encoding end performs entropy encoding on the optimal encoding mode obtained at the encoding end, and outputs a code stream; 解码端帧内预测模式熵解码单元,采用所述编码端熵编码的逆过程解析帧内预测模式从码流中解析得到帧内预测模式;The intra-frame prediction mode entropy decoding unit at the decoding end uses the inverse process of entropy encoding at the encoding end to analyze the intra-frame prediction mode and obtain the intra-frame prediction mode from the code stream; 解码端代价函数计算单元,计算各个预测模式的解码代价,选择解码代价最小的预测模式作为最终的解码模式;The cost function calculation unit at the decoding end calculates the decoding cost of each prediction mode, and selects the prediction mode with the smallest decoding cost as the final decoding mode; 解码端参考像素选择单元,根据预测模式选择执行预测过程所需要的参考像素;The reference pixel selection unit at the decoding end selects the reference pixels required for performing the prediction process according to the prediction mode; 解码端预测单元预测值获取单元,根据预测方向和当前预测像素所在的位置,选择预测当前像素值所需要的参考像素并执行插值滤波过程得到预测值。The prediction value acquisition unit of the prediction unit at the decoding end selects the reference pixel required to predict the current pixel value according to the prediction direction and the position of the current prediction pixel, and performs an interpolation filtering process to obtain a prediction value.
CN201210546537.9A 2012-12-14 2012-12-14 A kind of multidirectional infra-frame prediction decoding method and device Active CN102984523B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210546537.9A CN102984523B (en) 2012-12-14 2012-12-14 A kind of multidirectional infra-frame prediction decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210546537.9A CN102984523B (en) 2012-12-14 2012-12-14 A kind of multidirectional infra-frame prediction decoding method and device

Publications (2)

Publication Number Publication Date
CN102984523A true CN102984523A (en) 2013-03-20
CN102984523B CN102984523B (en) 2015-12-09

Family

ID=47858212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210546537.9A Active CN102984523B (en) 2012-12-14 2012-12-14 A kind of multidirectional infra-frame prediction decoding method and device

Country Status (1)

Country Link
CN (1) CN102984523B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248892A (en) * 2013-05-07 2013-08-14 北京大学 Method and device for intra-frame prediction
CN105594213A (en) * 2013-07-15 2016-05-18 三星电子株式会社 Method for improving intra-prediction of diagonal mode in video coding
WO2016119666A1 (en) * 2015-01-26 2016-08-04 同济大学 Image coding/decoding method and apparatus
CN110166773A (en) * 2019-06-25 2019-08-23 浙江大华技术股份有限公司 Intra-frame prediction method, method for video coding, video process apparatus, storage medium
CN110545435A (en) * 2018-05-28 2019-12-06 深信服科技股份有限公司 desktop pixel coding method and device based on probability model and storage medium
US10666971B2 (en) 2015-01-26 2020-05-26 Xi'an Zhongxing New Software Co., Ltd Method and device for image coding and method and device for image decoding
WO2020182125A1 (en) * 2019-03-12 2020-09-17 FG Innovation Company Limited Device and method for coding video data
WO2020181990A1 (en) * 2019-03-12 2020-09-17 Zhejiang Dahua Technology Co., Ltd. Systems and methods for image coding
WO2020181579A1 (en) * 2019-03-12 2020-09-17 北京大学深圳研究生院 Coding and decoding methods and devices based on intra-frame prediction and filter
CN112040228A (en) * 2018-09-16 2020-12-04 华为技术有限公司 Method and apparatus for prediction
CN113473135A (en) * 2021-05-26 2021-10-01 北京大学 Intra-frame prediction method, device and medium for non-linear texture

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101361370A (en) * 2005-11-30 2009-02-04 株式会社东芝 Image encoding/image decoding method and image encoding/image decoding apparatus
CN101895751A (en) * 2010-07-06 2010-11-24 北京大学 Method and device for intra-frame prediction and intra-frame prediction-based encoding/decoding method and system
CN102484704A (en) * 2009-08-17 2012-05-30 三星电子株式会社 Method and apparatus for encoding video, and method and apparatus for decoding video
CN102595120A (en) * 2011-01-14 2012-07-18 华为技术有限公司 Airspace predication coding method, decoding method, device and system
US20120207398A1 (en) * 2011-02-10 2012-08-16 Sony Corporation Image coding device, image decoding device, methods thereof, and programs
CN102665078A (en) * 2012-05-08 2012-09-12 北方工业大学 Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101361370A (en) * 2005-11-30 2009-02-04 株式会社东芝 Image encoding/image decoding method and image encoding/image decoding apparatus
CN102484704A (en) * 2009-08-17 2012-05-30 三星电子株式会社 Method and apparatus for encoding video, and method and apparatus for decoding video
CN101895751A (en) * 2010-07-06 2010-11-24 北京大学 Method and device for intra-frame prediction and intra-frame prediction-based encoding/decoding method and system
CN102595120A (en) * 2011-01-14 2012-07-18 华为技术有限公司 Airspace predication coding method, decoding method, device and system
US20120207398A1 (en) * 2011-02-10 2012-08-16 Sony Corporation Image coding device, image decoding device, methods thereof, and programs
CN102665078A (en) * 2012-05-08 2012-09-12 北方工业大学 Intra prediction mode decision based on direction vector for HEVC (High Efficiency Video Coding)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248892A (en) * 2013-05-07 2013-08-14 北京大学 Method and device for intra-frame prediction
CN105594213A (en) * 2013-07-15 2016-05-18 三星电子株式会社 Method for improving intra-prediction of diagonal mode in video coding
US11082718B2 (en) 2015-01-26 2021-08-03 Xi'an Zhongxing New Software Co., Ltd Method and device for coding image and method and device for decoding image
US10666971B2 (en) 2015-01-26 2020-05-26 Xi'an Zhongxing New Software Co., Ltd Method and device for image coding and method and device for image decoding
WO2016119666A1 (en) * 2015-01-26 2016-08-04 同济大学 Image coding/decoding method and apparatus
CN110545435A (en) * 2018-05-28 2019-12-06 深信服科技股份有限公司 desktop pixel coding method and device based on probability model and storage medium
CN114143539A (en) * 2018-09-16 2022-03-04 华为技术有限公司 Method and apparatus for prediction
US12177427B2 (en) 2018-09-16 2024-12-24 Huawei Technologies Co., Ltd. Method and apparatus for filtering with intra prediction
CN114143539B (en) * 2018-09-16 2023-08-04 华为技术有限公司 Method and apparatus for prediction
US11647185B2 (en) 2018-09-16 2023-05-09 Huawei Technologies Co., Ltd. Method and apparatus for filtering with directional prediction
CN112040228A (en) * 2018-09-16 2020-12-04 华为技术有限公司 Method and apparatus for prediction
US11451774B2 (en) 2019-03-12 2022-09-20 Peking University Shenzhen Graduate School Intra-prediction-based encoding and decoding method, apparatus and filter
US11425374B2 (en) 2019-03-12 2022-08-23 FG Innovation Company Limited Device and method for coding video data
WO2020181579A1 (en) * 2019-03-12 2020-09-17 北京大学深圳研究生院 Coding and decoding methods and devices based on intra-frame prediction and filter
WO2020181990A1 (en) * 2019-03-12 2020-09-17 Zhejiang Dahua Technology Co., Ltd. Systems and methods for image coding
US11943437B2 (en) 2019-03-12 2024-03-26 FG Innovation Company Limited Device and method for coding video data
US12155861B2 (en) 2019-03-12 2024-11-26 Zhejiang Dahua Technology Co., Ltd. Systems and methods for image coding
WO2020182125A1 (en) * 2019-03-12 2020-09-17 FG Innovation Company Limited Device and method for coding video data
CN110166773B (en) * 2019-06-25 2021-08-31 浙江大华技术股份有限公司 Intra-frame prediction method, video encoding method, video processing apparatus, and storage medium
CN110166773A (en) * 2019-06-25 2019-08-23 浙江大华技术股份有限公司 Intra-frame prediction method, method for video coding, video process apparatus, storage medium
CN113473135A (en) * 2021-05-26 2021-10-01 北京大学 Intra-frame prediction method, device and medium for non-linear texture
CN113473135B (en) * 2021-05-26 2023-09-01 北京大学 A nonlinear texture-oriented intra prediction method, device and medium

Also Published As

Publication number Publication date
CN102984523B (en) 2015-12-09

Similar Documents

Publication Publication Date Title
CN102984523B (en) A kind of multidirectional infra-frame prediction decoding method and device
TWI759389B (en) Low-complexity sign prediction for video coding
CN112602324B (en) Block horizontal geometric partitioning
CN104023233B (en) Fast inter-frame prediction method of HEVC (High Efficiency Video Coding)
TWI840401B (en) Pruning in multi-motion model based skip and direct mode coded video blocks
CN104023241B (en) Video coding method and video coding device for intra-frame predictive coding
CN104796693B (en) A kind of quick CU depth of HEVC divides coding method
CN103957415B (en) CU dividing methods and device based on screen content video
CN103220529A (en) Method for achieving video coding and decoding loop filtering
CN107257466A (en) Method and apparatus for intra prediction mode coding
CN102595116A (en) Encoding and decoding methods and devices for multiple image block division ways
TW201334543A (en) Determining quantization parameters for deblocking filtering for video coding
CN107465916A (en) Method and apparatus for encoding/decoding intra prediction mode
CN103957414A (en) HEVC intra-frame prediction coding method and system
US20180199058A1 (en) Video encoding and decoding method and device
CN104639940A (en) Quick HEVC (High Efficiency Video Coding) inter-frame prediction mode selection method
CN103227924B (en) A kind of arithmetic encoder and coded method
CN103533354B (en) A kind of HD video fast encoding method
CN103596003B (en) Interframe predication quick mode selecting method for high-performance video coding
EP3761646A1 (en) Context modelling method and device for partition flag bit
JP2022508522A (en) Exponential division method and system
CN102118615A (en) Video encoding/decoding method and device using variable block size skip mode
CN113678446B (en) Electronic device and method for decoding bit stream
CN105025296B (en) A kind of advanced mathematical encoder and its implementation
CN105791863B (en) 3D-HEVC depth map intra-frame predictive encoding method based on layer

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