CN103260018A - Intra-frame image predictive encoding and decoding method and video codec - Google Patents
Intra-frame image predictive encoding and decoding method and video codec Download PDFInfo
- Publication number
- CN103260018A CN103260018A CN2012100352529A CN201210035252A CN103260018A CN 103260018 A CN103260018 A CN 103260018A CN 2012100352529 A CN2012100352529 A CN 2012100352529A CN 201210035252 A CN201210035252 A CN 201210035252A CN 103260018 A CN103260018 A CN 103260018A
- Authority
- CN
- China
- Prior art keywords
- current
- chromatic component
- reconstruction value
- sigma
- predicted
- 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
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Color Television Systems (AREA)
Abstract
The invention discloses an intra-frame image predictive encoding and decoding method and a video codec. The intra-frame image predictive encoding and decoding method comprises the following steps that intra-frame image predictive encoding is conducted by the adoption of an chromaticity intra-frame prediction mode; a reconstruction value of a luminance component Y of a transformation unit (TU) is acquired; a chromaticity component U of the current TU is predicted by the means of the reconstruction value of the luminance component Y of the current TU; a reconstruction value of the chromaticity component U of the current TU is acquired; a chromaticity component V of the current TU is predicted by the means of the reconstruction value of the chromaticity component U of the current TU. According to the intra-frame image predictive encoding and decoding method and the video codec, relevance between the chromaticity component V and the chromaticity component U can be fully used, and therefore predictive encoding and decoding efficiency of intra-frame images is improved.
Description
Technical field
The present invention relates to image/video encoding and decoding and I picture electric powder prediction, relate in particular to I picture prediction decoding method and Video Codec.
Background technology
YUV is the color space that colour television standard adopts by a kind of colour coding method that the eurovision system is adopted.Wherein, Y is luminance component, expression lightness (Luma), just GTG value; And U and V are chromatic components, expression then be colourity (Chroma), effect is to describe colors of image and saturation, is used to specify color of pixel.The importance that adopts the YUV color space is that its luminance component Y separates with calibration component V with chromatic component U.Do not have chromatic component U and chromatic component V if having only luminance component Y, the image of expression is exactly the black and white gray level image so like this.Color TV adopts YUV color space available brightness component Y to solve the compatible problem of color television set and black and white television set, makes black and white television set also can receive colour TV signal.
The image/video compression coding and decoding is divided into inter frame image prediction encoding and decoding and two kinds of predictions of I picture prediction encoding and decoding encoding and decoding technique generally.The I picture predictive coding be used to from present frame the information of coded image unit the current encoded image unit is carried out predictive coding; The I picture prediction decoding be used to from present frame the information of decoded picture unit current decoded picture unit is carried out prediction decoding.
In the existing I picture prediction decoding method, be to adopt LM (Luma-based chroma intra prediction Mode is based on the chrominance frames inner estimation mode of brightness) to carry out I picture prediction encoding and decoding.Between LM hypothesis chromatic component U and chromatic component V and the luminance component Y linear relationship is arranged, based on this hypothesis, when coding colourity, LM predicts chromatic component U and chromatic component V with the reconstruction value of luminance component Y.
In HM4.0, LM predicts chromatic component U and chromatic component V with the reconstruction value of luminance component Y, and is chromatic component U and chromatic component V difference design factor α
LAnd β
LIn LM, adopt following linear model to predict chromatic component U and chromatic component V:
Pred
C[x,y]=α
L·Rec′
L[x,y]+β
L
Wherein, Pred
C[x, y] is the predicted value of current TU (Transform Unit, converter unit) chromatic component U or chromatic component V, Rec
L[x, y] is the reconstruction value of current TU luminance component Y, Rec '
L[x, y] is the reconstruction value of filtered current TU luminance component Y, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N.
Be used for design factor α
LAnd β
LSample point as shown in Figure 1.Among Fig. 1, Rec '
LBe the reconstruction value of filtered current TU luminance block adjacent left-hand one row and upside one-row pixels luminance component Y, Rec
CIt is the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U or chromatic component V.
But, when existing I picture prediction decoding method adopts LM to carry out I picture prediction encoding and decoding, do not take full advantage of the correlation between chromatic component V and the chromatic component U, make that I picture prediction encoding-decoding efficiency is lower.
Summary of the invention
The embodiment of the invention provides a kind of inage predicting encoding method in frame, and in order to improve I picture predictive coding efficient, this method comprises that the following chrominance frames inner estimation mode of employing carries out the I picture predictive coding:
Obtain the reconstruction value of current converter unit TU luminance component Y;
With the reconstruction value of current TU luminance component Y, current TU chromatic component U is predicted;
Obtain the reconstruction value of current TU chromatic component U;
With the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted.
The embodiment of the invention provides a kind of I picture prediction decoding method, and in order to improve I picture prediction decoding efficient, this method comprises:
Determine to adopt above-mentioned chrominance frames inner estimation mode to carry out the I picture prediction decoding;
Obtain the reconstruction value of current TU luminance component Y;
With the reconstruction value of current TU luminance component Y, current TU chromatic component U is predicted;
Obtain the reconstruction value of current TU chromatic component U;
With the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted.
The embodiment of the invention also provides a kind of video encoder, in order to improve I picture predictive coding efficient, this video encoder comprises that adopting following chrominance frames inner estimation mode to carry out first of I picture predictive coding obtains module, first prediction module, second acquisition module and second prediction module:
First obtains module, is used for obtaining the reconstruction value of current TU luminance component Y;
First prediction module is used for the reconstruction value with current TU luminance component Y, and current TU chromatic component U is predicted;
Second obtains module, is used for obtaining the reconstruction value of current TU chromatic component U;
Second prediction module is used for the reconstruction value with current TU chromatic component U, and current TU chromatic component V is predicted.
The embodiment of the invention also provides a kind of Video Decoder, and in order to improve I picture prediction decoding efficient, this Video Decoder comprises:
The pattern determination module is used for determining to adopt above-mentioned chrominance frames inner estimation mode to carry out the I picture prediction decoding;
First obtains module, is used for obtaining the reconstruction value of current TU luminance component Y;
First prediction module is used for the reconstruction value with current TU luminance component Y, and current TU chromatic component U is predicted;
Second obtains module, is used for obtaining the reconstruction value of current TU chromatic component U;
Second prediction module is used for the reconstruction value with current TU chromatic component U, and current TU chromatic component V is predicted.
The I picture prediction decoding method of the embodiment of the invention and the chrominance frames inner estimation mode that Video Codec adopts, be with the reconstruction value of current TU luminance component Y current TU chromatic component U to be predicted, reconstruction value with current TU chromatic component U is predicted current TU chromatic component V, current TU chromatic component U is compared with the technical scheme that chromatic component V predicts with the reconstruction value of current TU luminance component Y with existing LM, take full advantage of the correlation between chromatic component V and the chromatic component U, can improve I picture prediction encoding-decoding efficiency.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.In the accompanying drawings:
Fig. 1 is for being used for design factor α in the prior art
LAnd β
LThe schematic diagram of sample point;
Fig. 2 is the schematic diagram of inage predicting encoding method in frame in the embodiment of the invention;
The schematic diagram of Fig. 3 for the reconstruction value of current TU chromatic component U current TU chromatic component V being predicted in the embodiment of the invention;
Fig. 4 calculates factor alpha in the embodiment of the invention
VAnd β
VThe schematic diagram of the sample point that uses;
Fig. 5 is the schematic diagram of I picture prediction decoding method in the embodiment of the invention;
Fig. 6 is the structural representation of video encoder in the embodiment of the invention;
Fig. 7 is the structural representation of an instantiation of video encoder in the embodiment of the invention;
Fig. 8 is the structural representation of Video Decoder in the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, below in conjunction with accompanying drawing the embodiment of the invention is described in further details.At this, illustrative examples of the present invention and explanation thereof are used for explanation the present invention, but not as a limitation of the invention.
In order to take full advantage of the correlation between chromatic component V and the chromatic component U, improve I picture prediction encoding-decoding efficiency, the embodiment of the invention is revised existing LM.Between existing LM hypothesis chromatic component U and chromatic component V and the luminance component Y linear relationship is arranged, based on this hypothesis, when coding colourity, LM predicts chromatic component U and chromatic component V with the reconstruction value of luminance component Y.And the chrominance frames inner estimation mode that the I picture of embodiment of the invention prediction decoding method and Video Codec adopt, still supposing has linear relationship between chromatic component U and chromatic component V and the luminance component Y, and chromatic component U is predicted with the reconstruction value of luminance component Y this is identical with existing LM; Different with LM is, the embodiment of the invention also supposes between chromatic component V and the chromatic component U linear relationship is arranged also, this linear relationship is stronger than the linear relationship between colourity component V and the luminance component Y, and when considering prediction chromatic component V, chromatic component U reconstruct finishes, and therefore predicts chromatic component V with the reconstruction value of chromatic component U rather than the reconstruction value of luminance component Y.
For ease of describing, the I picture prediction decoding method of the embodiment of the invention and the chrominance frames inner estimation mode that Video Codec adopts, can be referred to as LUM (luma-based U and U-based V chroma intra prediction mode, the chrominance frames inner estimation mode of prediction V from luma prediction U from U).
Fig. 2 is the schematic diagram of the inage predicting encoding method in frame of the embodiment of the invention.As shown in Figure 2, the inage predicting encoding method in frame of the embodiment of the invention comprises that the following chrominance frames inner estimation mode of employing (LUM) carries out the I picture predictive coding:
The reconstruction value of step 201, the current converter unit TU luminance component Y of acquisition;
The reconstruction value of step 203, the current TU chromatic component U of acquisition;
Can be learnt by flow process shown in Figure 2, in the chrominance frames inner estimation mode (LUM) that the embodiment of the invention adopts, the Forecasting Methodology of chromatic component U is identical with existing LM, and different with existing LM be to predict chromatic component V with the reconstruction value of chromatic component U rather than the reconstruction value of luminance component Y.
During concrete enforcement, with the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted, can comprise:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
During concrete enforcement, can with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V be predicted by following formula:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
The schematic diagram of Fig. 3 for the reconstruction value of current TU chromatic component U current TU chromatic component V being predicted in the embodiment of the invention.
Fig. 4 calculates factor alpha in the embodiment of the invention
VAnd β
VThe schematic diagram of the sample point that uses.Among Fig. 4, Rec
UBe the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
VIt is the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V.
During concrete enforcement, can be by following formula, design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1 travels through current TU chrominance block adjacent left-hand one and is listed as and the upside one-row pixels, the width of current TU chrominance block and highly be N.
Design factor α
VAnd β
VDetailed process can be referring to the newly-increased part 8.3.3.1.19 trifle of working draft (working draft) JCTVC-G1103_d4 hereinafter.
The chrominance frames inner estimation mode (LUM) that the inage predicting encoding method in frame of the embodiment of the invention adopts can carry out rate-distortion optimization with existing LM and select.
During concrete enforcement, can on the basis of implementing flow process shown in Figure 2, adopt existing LM to carry out the I picture predictive coding again: the reconstruction value that obtains current TU luminance component Y; With the reconstruction value of current TU luminance component Y, current TU chromatic component U and chromatic component V are predicted.The follow-up rate-distortion optimization that carries out is again selected, and namely in LUM and LM, selects the chrominance frames inner estimation mode of minimum rate distortion costs correspondence to carry out the I picture predictive coding.
During concrete enforcement, the inage predicting encoding method in frame of the embodiment of the invention can also comprise: which kind of chrominance frames inner estimation mode (as LUM or LM etc.) is the code word of coding colourity intra prediction mode, adopt carry out the I picture predictive coding with indication.Table 1 is the code word of chrominance frames inner estimation mode among the HM4.0:
The code word of chrominance frames inner estimation mode among the table 1:HM4.0
After introducing LUM, need adjust the code word of colourity intra prediction mode, as shown in table 2.
Table 2: the code word of the chrominance frames inner estimation mode after the adjustment
The chrominance frames inner estimation mode | Code word |
DM | 0 |
LM | 10 |
LUM | 110 |
Planar | 1110 |
Vertical | 11110 |
Horizontal | 111110 |
DC | 111111 |
Contrast table 1 and table 2 as can be seen, when the code word of coding colourity intra prediction mode, change has taken place on the basis of HM4.0 in the code word of chrominance frames inner estimation mode, and the maximum length of code word has been increased to 6 from 5.
Based on same inventive concept, also provide a kind of I picture prediction decoding method in the embodiment of the invention, as described in the following examples.Because the principle that I picture prediction decoding method is dealt with problems is similar to inage predicting encoding method in frame, so the enforcement of I picture prediction decoding method can repeat part and repeat no more referring to the enforcement of inage predicting encoding method in frame.
Fig. 5 is the schematic diagram of the I picture prediction decoding method of the embodiment of the invention.As shown in Figure 5, the I picture prediction decoding method of the embodiment of the invention can comprise:
Step 501, definite LUM that adopts carry out the I picture prediction decoding;
The reconstruction value of step 502, the current TU luminance component Y of acquisition;
Step 503, with the reconstruction value of current TU luminance component Y, current TU chromatic component U is predicted;
The reconstruction value of step 504, the current TU chromatic component U of acquisition;
Step 505, with the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted.
During concrete enforcement, determine to adopt LUM to carry out the I picture prediction decoding, can comprise:
The code word of decoding chrominance frames inner estimation mode;
According to the code word of chrominance frames inner estimation mode, determine to adopt LUM to carry out the I picture prediction decoding.
Among the HM4.0, the code word of chrominance frames inner estimation mode is as shown in table 1.The I picture prediction decoding method of the embodiment of the invention has increased LUM, and variation has taken place the code word of chrominance frames inner estimation mode, and is as shown in table 2.Therefore contrast table 1 and table 2 as can be seen, when the code word of decoding chrominance frames inner estimation mode, at first, the maximum length of decodes codeword has been increased to 6 from 5; Secondly, variation has also taken place in the chrominance frames inner estimation mode of code word representative, need obtain the chrominance frames inner estimation mode of code word correspondence according to table 2.
During concrete enforcement, with the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted, can comprise:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
During concrete enforcement, can with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V be predicted by following formula:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
During concrete enforcement, can be by following formula, design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1 travels through current TU chrominance block adjacent left-hand one and is listed as and the upside one-row pixels, the width of current TU chrominance block and highly be N.
Design factor α
VAnd β
VDetailed process can be referring to the newly-increased part 8.3.3.1.19 trifle of working draft JCTVC-G1103_d4 hereinafter.
During concrete enforcement, the I picture prediction decoding method of the embodiment of the invention is introduced LUM also to be needed working draft JCTVC-G1103_d4 is made amendment, concrete modification is as follows, revises part and is marked by underscore in table 8-1 and table 8-4, revises part and also comprises the 8.3.3.1.19 trifle.
8.3.1 Derivation process for luma intra prediction mode (luminance frame inner estimation mode derivation)
……
The Table 8-1 Specification of intra prediction mode and associated names explanation of corresponding title (the table 8-1 intra prediction mode with)
……
8.3.2 Derivation process for chroma intra prediction mode (chrominance frames inner estimation mode derivation)
……
Table 8-4 Specification of IntraPredModeC according to the values of intra_chroma_pred_mode and IntraPredMode[xB] [yB] when chroma_pred_from_luma_enabled_flag is equal to 1 (table 8-4 when the chroma_pred_from_luma_enabled_flag flag bit of luma prediction colourity (permission from) while equaling 1, utilize intra_chroma_pred_mode (colourity intra-frame prediction method) and IntraPredMode (intra prediction mode) [xB] [yB] to determine the explanation of IntraPredModeC (chrominance frames inner estimation mode))
……
8.3.3.1.19 the explanation of Intra_FromLumaAndU (being predicted by brightness and colourity U in the frame) predictive mode
As intraPredMode (intra prediction mode) when equaling 36, carry out following steps:
1, the interior pixel prediction process of carrying out in the 8.3.3.1.18 trifle of frame is predicted U;
2, carry out after the 8.3.3 reconstruct U, the pixel prediction process is predicted V in the frame below carrying out then:
The input of this process is:
The reconstruction value recSamples of adjacent U
U[x, y], x wherein, y=-1..nS-1, x=0 wherein, y=0 represents the position, the upper left corner of current block;
The reconstruction value recSamples of adjacent V
V[x, y], y=-1 wherein, x=0..nS-1 or x=-1, y=0..nS-1, x=0 wherein, y=0 represents the position, the upper left corner of current block;
Variable nS is used to refer to the current block size.
The output of this process is:
The predicted value predSamples of V
V[x, y], x, y=0..nS-1, x=0 wherein, y=0 represents the position, the upper left corner of current block;
The predicted value predSamples of V
V[x, y], x, y=0..nS-1 obtains by following steps:
1), calculates variable k3 and sample p
U, p
VAs follows:
k3=Max(0,BitDepth
c+log
2(nS)-14)
p
U[x,y]=recSamples
U[x,y],x,y=-1..nS-1
p
V[x, y]=recSamples
V[x, y], y=-1, x=0..nS-1 or x=-1, y=0..nS-1
2), calculate variables L, C, LL, LC and k2 are as follows:
k2=log
2((2*nS)>>k3)
3), calculate variable a, b and k are as follows:
a1=(LC<<k2)-L*C
a2=(LL<<k2)-L*L
k1=Max(0,log
2(abs(a2))-5)-Max(0,log
2(abs(a1))-14)+2
a1s=a1>>Max(0,log
2(abs(a1))-14)
a2s=abs(a2>>Max(0,log
2(abs(a2))-5))
a3=a2s<1?0:Clip3(-2
15,2
15-1,a1s*lmDiv+(1<<(k1-1))>>k1)
a=a3>>Max(0,log
2(abs(a3))-6)
k=13-Max(0,log
2(a))-6)
b=(L-((a*C)>>k1)+(1<<(k2-1)))>>k2
Wherein lmDiv obtains by the 8-10 that tables look-up with a2s.
4), at last, calculate the predicted value predSamples of V
V[x, y] is as follows:
predSamples
V[x,y]=Clip1
C(((p
U[x,y]*a)>>k)+b),x,y=0..nS-1
Based on same inventive concept, a kind of video encoder and Video Decoder are also provided in the embodiment of the invention, as described in the following examples.Because video encoder is similar with coding/decoding method to the I picture predictive coding with the principle that Video Decoder is dealt with problems, therefore the enforcement of video encoder and Video Decoder can repeat part and repeat no more referring to the enforcement of I picture predictive coding and coding/decoding method.
Fig. 6 is the structural representation of video encoder in the embodiment of the invention.As shown in Figure 6, video encoder can comprise in the embodiment of the invention:
Adopt following chrominance frames inner estimation mode (LUM) to carry out first of I picture predictive coding and obtain module 601, first prediction module 602, second acquisition module 603 and second prediction module 604:
First obtains module 601, is used for obtaining the reconstruction value of current TU luminance component Y;
Second obtains module 603, is used for obtaining the reconstruction value of current TU chromatic component U;
Among the embodiment, second prediction module 604 specifically can be used for:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
Among the embodiment, second prediction module 604 specifically can be used for:
By following formula, with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
Among the embodiment, second prediction module 604 specifically can be used for:
By following formula, design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1.
As shown in Figure 7, among the embodiment, video encoder shown in Figure 6 can also comprise:
Pattern-coding module 701 for the code word of coding colourity intra prediction mode, adopts LUM to carry out the I picture predictive coding with indication.
Fig. 8 is the structural representation of Video Decoder in the embodiment of the invention.As shown in Figure 8, Video Decoder can comprise in the embodiment of the invention:
First obtains module 802, is used for obtaining the reconstruction value of current TU luminance component Y;
Second obtains module 804, is used for obtaining the reconstruction value of current TU chromatic component U;
Among the embodiment, determination module 801 specifically can be used for:
The code word of decoding chrominance frames inner estimation mode;
According to the code word of chrominance frames inner estimation mode, determine to adopt LUM to carry out the I picture prediction decoding.
Among the embodiment, second prediction module 805 specifically can be used for:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
Among the embodiment, second prediction module 805 specifically can be used for:
By following formula, with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
Among the embodiment, second prediction module 805 specifically can be used for:
By following formula, design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1.
The I picture prediction decoding method of the embodiment of the invention and the chrominance frames inner estimation mode of Video Codec employing are integrated among the HM4.0 (LM bug-fixed version), and compare with HM4.0.Experiment is to carry out according to the universal test condition among the JCTVC-F900.The test environment of experiment is: Intel (R) Xeon (R) CPU X56702.93GHz, and 6 nuclears,, internal memory 12GB, 7,32 compilers of Windows.
Experimental result is as shown in table 3.As can be seen, the embodiment of the invention code check that can reduce chromatic component V under " high efficiency intraframe coding (All Intra HE) " and " low complex degree intraframe coding (All Intra LC) " situation respectively reaches 0.72% and 1.33%.Luminance component Y and chromatic component U code check under " high efficiency intraframe coding " situation does not increase, and code check slightly increases (luminance component Y average bit rate increase by 0.03%, worst case code check increase by 0.11% under " low complex degree intraframe coding " situation; Chromatic component U average bit rate reduces by 0.07%, and the worst case code check increases by 0.88%).Code check increase under " low complex degree intraframe coding " situation mainly ascribes the increase of Planar, Vertical, Horizontal and four kinds of pattern code words of DC to (with the HM4.0 ratio, these four kinds of pattern code words have all increased by 1) and the poor efficiency during LCEC (low complexity entropy coder, low complex degree entropy coder) coding codeword.When the selected likelihood ratio of LUM was low, the performance raising that it brings is not enough to compensate above-mentioned four kinds of pattern code words increased the performance decline that causes, and at this moment bulking property will descend slightly.
Table 3: experimental result :-xx% represents that code check reduces xx%
In sum, the I picture prediction decoding method of the embodiment of the invention and the chrominance frames inner estimation mode that Video Codec adopts, be with the reconstruction value of current TU luminance component Y current TU chromatic component U to be predicted, reconstruction value with current TU chromatic component U is predicted current TU chromatic component V, current TU chromatic component U is compared with the technical scheme that chromatic component V predicts with the reconstruction value of current TU luminance component Y with existing LM, can take full advantage of the correlation between chromatic component V and the chromatic component U, improve I picture prediction encoding-decoding efficiency, when especially the linear relationship specific luminance component Y between chromatic component U and chromatic component V and the linear relationship between the chromatic component V are stronger, can generate than the better predicted value of LM for chromatic component V.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software embodiment or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code.
The present invention is that reference is described according to flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make and carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame in the instruction that computer or other programmable devices are carried out.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; and be not intended to limit the scope of the invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (20)
1. an inage predicting encoding method in frame is characterized in that, comprises adopting following chrominance frames inner estimation mode to carry out the I picture predictive coding:
Obtain the reconstruction value of current converter unit TU luminance component Y;
With the reconstruction value of current TU luminance component Y, current TU chromatic component U is predicted;
Obtain the reconstruction value of current TU chromatic component U;
With the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted.
2. the method for claim 1 is characterized in that, with the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted, comprising:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
3. method as claimed in claim 2 is characterized in that, by following formula, with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
4. method as claimed in claim 3 is characterized in that, by following formula, and design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1.
5. as each described method of claim 1 to 4, it is characterized in that, also comprise:
The code word of coding colourity intra prediction mode adopts the described chrominance frames inner estimation mode of claim 1 to carry out the I picture predictive coding with indication.
6. an I picture prediction decoding method is characterized in that, comprising:
Determine to adopt the described chrominance frames inner estimation mode of claim 1 to carry out the I picture prediction decoding;
Obtain the reconstruction value of current TU luminance component Y;
With the reconstruction value of current TU luminance component Y, current TU chromatic component U is predicted;
Obtain the reconstruction value of current TU chromatic component U;
With the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted.
7. method as claimed in claim 6 is characterized in that, determines to adopt the described chrominance frames inner estimation mode of claim 1 to carry out the I picture prediction decoding, comprising:
The code word of decoding chrominance frames inner estimation mode;
According to the code word of chrominance frames inner estimation mode, determine to adopt the described chrominance frames inner estimation mode of claim 1 to carry out the I picture prediction decoding.
8. method as claimed in claim 6 is characterized in that, with the reconstruction value of current TU chromatic component U, current TU chromatic component V is predicted, comprising:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
9. method as claimed in claim 8 is characterized in that, by following formula, with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
10. method as claimed in claim 9 is characterized in that, by following formula, and design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1.
11. a video encoder is characterized in that, comprises that adopting following chrominance frames inner estimation mode to carry out first of I picture predictive coding obtains module, first prediction module, second acquisition module and second prediction module:
First obtains module, is used for obtaining the reconstruction value of current TU luminance component Y;
First prediction module is used for the reconstruction value with current TU luminance component Y, and current TU chromatic component U is predicted;
Second obtains module, is used for obtaining the reconstruction value of current TU chromatic component U;
Second prediction module is used for the reconstruction value with current TU chromatic component U, and current TU chromatic component V is predicted.
12. video encoder as claimed in claim 11 is characterized in that, described second prediction module specifically is used for:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
13. video encoder as claimed in claim 12 is characterized in that, described second prediction module specifically is used for:
By following formula, with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
14. video encoder as claimed in claim 13 is characterized in that, described second prediction module specifically is used for:
By following formula, design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1.
15. as each described video encoder of claim 11 to 14, it is characterized in that, also comprise:
The pattern-coding module for the code word of coding colourity intra prediction mode, adopts the described chrominance frames inner estimation mode of claim 11 to carry out the I picture predictive coding with indication.
16. a Video Decoder is characterized in that, comprising:
The pattern determination module is used for determining to adopt the described chrominance frames inner estimation mode of claim 11 to carry out the I picture prediction decoding;
First obtains module, is used for obtaining the reconstruction value of current TU luminance component Y;
First prediction module is used for the reconstruction value with current TU luminance component Y, and current TU chromatic component U is predicted;
Second obtains module, is used for obtaining the reconstruction value of current TU chromatic component U;
Second prediction module is used for the reconstruction value with current TU chromatic component U, and current TU chromatic component V is predicted.
17. Video Decoder as claimed in claim 16 is characterized in that, described determination module specifically is used for:
The code word of decoding chrominance frames inner estimation mode;
According to the code word of chrominance frames inner estimation mode, determine to adopt the described chrominance frames inner estimation mode of claim 11 to carry out the I picture prediction decoding.
18. Video Decoder as claimed in claim 17 is characterized in that, described second prediction module specifically is used for:
With the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted.
19. Video Decoder as claimed in claim 18 is characterized in that, described second prediction module specifically is used for:
By following formula, with the reconstruction value of current TU chromatic component U, by linear relationship current TU chromatic component V is predicted:
Pred
V[x,y]=α
V·Rec
U[x,y]+β
V
Wherein, Pred
V[x, y] is the predicted value of current TU chromatic component V, Rec
U[x, y] is the reconstruction value of current TU chromatic component U, x, and y=0 ..., N-1, the width of current TU chrominance block and highly be N, design factor α
VAnd β
VThe sample point that uses is current TU chrominance block adjacent left-hand one row and the reconstruction value of upside one-row pixels chromatic component U and the reconstruction value of chromatic component V.
20. Video Decoder as claimed in claim 19 is characterized in that, described second prediction module specifically is used for:
By following formula, design factor α
VAnd β
V:
Wherein, Rec
U(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component U, Rec
V(i) be the reconstruction value of current TU chrominance block adjacent left-hand one row and upside one-row pixels chromatic component V, i=0 ..., 2N-1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210035252.9A CN103260018B (en) | 2012-02-16 | 2012-02-16 | Intra-frame image prediction decoding method and Video Codec |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210035252.9A CN103260018B (en) | 2012-02-16 | 2012-02-16 | Intra-frame image prediction decoding method and Video Codec |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103260018A true CN103260018A (en) | 2013-08-21 |
CN103260018B CN103260018B (en) | 2017-09-22 |
Family
ID=48963684
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210035252.9A Expired - Fee Related CN103260018B (en) | 2012-02-16 | 2012-02-16 | Intra-frame image prediction decoding method and Video Codec |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103260018B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306944A (en) * | 2015-11-30 | 2016-02-03 | 哈尔滨工业大学 | Chrominance component prediction method in hybrid video coding standard |
WO2016115736A1 (en) * | 2015-01-23 | 2016-07-28 | Mediatek Singapore Pte. Ltd. | Additional intra prediction modes using cross-chroma-component prediction |
CN106464887A (en) * | 2014-03-06 | 2017-02-22 | 三星电子株式会社 | Image decoding method and device therefor, and image encoding method and device therefor |
WO2017140211A1 (en) * | 2016-02-18 | 2017-08-24 | Mediatek Singapore Pte. Ltd. | Method and apparatus of advanced intra prediction for chroma components in video coding |
US10321140B2 (en) | 2015-01-22 | 2019-06-11 | Mediatek Singapore Pte. Ltd. | Method of video coding for chroma components |
WO2019162117A1 (en) * | 2018-02-23 | 2019-08-29 | Canon Kabushiki Kaisha | Methods and devices for improvement in obtaining linear component sample prediction parameters |
CN110602491A (en) * | 2019-08-30 | 2019-12-20 | 中国科学院深圳先进技术研究院 | Intra-frame chroma prediction method, device and equipment and video coding and decoding system |
WO2020038378A1 (en) * | 2018-08-22 | 2020-02-27 | 华为技术有限公司 | Method and device for predicting chroma block |
CN110876061A (en) * | 2018-09-03 | 2020-03-10 | 华为技术有限公司 | Chroma block prediction method and device |
CN111699681A (en) * | 2019-06-25 | 2020-09-22 | 北京大学 | Video image processing method, device and storage medium |
WO2021004152A1 (en) * | 2019-07-10 | 2021-01-14 | Oppo广东移动通信有限公司 | Image component prediction method, encoder, decoder, and storage medium |
WO2021035717A1 (en) * | 2019-08-30 | 2021-03-04 | 中国科学院深圳先进技术研究院 | Intra-frame chroma prediction method and apparatus, device, and video coding and decoding system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1574970A (en) * | 2003-05-16 | 2005-02-02 | 三星电子株式会社 | Method and apparatus for encoding/decoding image using image residue prediction |
CN101057506A (en) * | 2004-12-30 | 2007-10-17 | 三星电子株式会社 | Color image encoding and decoding method and apparatus using a correlation between chrominance components |
WO2008020687A1 (en) * | 2006-08-16 | 2008-02-21 | Samsung Electronics Co, . Ltd. | Image encoding/decoding method and apparatus |
WO2011126348A2 (en) * | 2010-04-09 | 2011-10-13 | Lg Electronics Inc. | Method and apparatus for processing video data |
-
2012
- 2012-02-16 CN CN201210035252.9A patent/CN103260018B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1574970A (en) * | 2003-05-16 | 2005-02-02 | 三星电子株式会社 | Method and apparatus for encoding/decoding image using image residue prediction |
CN101057506A (en) * | 2004-12-30 | 2007-10-17 | 三星电子株式会社 | Color image encoding and decoding method and apparatus using a correlation between chrominance components |
WO2008020687A1 (en) * | 2006-08-16 | 2008-02-21 | Samsung Electronics Co, . Ltd. | Image encoding/decoding method and apparatus |
WO2011126348A2 (en) * | 2010-04-09 | 2011-10-13 | Lg Electronics Inc. | Method and apparatus for processing video data |
WO2011126348A3 (en) * | 2010-04-09 | 2012-01-26 | Lg Electronics Inc. | Method and apparatus for processing video data |
Non-Patent Citations (3)
Title |
---|
JIANLE CHEN等: "Chroma intra prediction by reconstructed luma samples", 《JOINT COLLABORATIVE TEAM ON VIDEO CODING(JCT-VC)OF ITU-T SG16 WP3 AND ISO/IEC JTC1/SC29/WG11》 * |
LUIS F.R等: "Intra-prediction for color image coding using YUV correlation", 《2010 17TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING》 * |
SANG HEON LEE等: "intra prediction method based on the linear relationship between the channels for YUV 4:2:0 intra coding", 《2009 16TH IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING》 * |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106464887A (en) * | 2014-03-06 | 2017-02-22 | 三星电子株式会社 | Image decoding method and device therefor, and image encoding method and device therefor |
US10506243B2 (en) | 2014-03-06 | 2019-12-10 | Samsung Electronics Co., Ltd. | Image decoding method and device therefor, and image encoding method and device therefor |
US10321140B2 (en) | 2015-01-22 | 2019-06-11 | Mediatek Singapore Pte. Ltd. | Method of video coding for chroma components |
WO2016115736A1 (en) * | 2015-01-23 | 2016-07-28 | Mediatek Singapore Pte. Ltd. | Additional intra prediction modes using cross-chroma-component prediction |
CN105306944A (en) * | 2015-11-30 | 2016-02-03 | 哈尔滨工业大学 | Chrominance component prediction method in hybrid video coding standard |
CN105306944B (en) * | 2015-11-30 | 2018-07-06 | 哈尔滨工业大学 | Chromatic component Forecasting Methodology in hybrid video coding standard |
WO2017140211A1 (en) * | 2016-02-18 | 2017-08-24 | Mediatek Singapore Pte. Ltd. | Method and apparatus of advanced intra prediction for chroma components in video coding |
CN109417623A (en) * | 2016-02-18 | 2019-03-01 | 联发科技(新加坡)私人有限公司 | The method and apparatus of the enhancing intra prediction of the chromatic component of Video coding |
WO2019162117A1 (en) * | 2018-02-23 | 2019-08-29 | Canon Kabushiki Kaisha | Methods and devices for improvement in obtaining linear component sample prediction parameters |
WO2020038378A1 (en) * | 2018-08-22 | 2020-02-27 | 华为技术有限公司 | Method and device for predicting chroma block |
CN110858903A (en) * | 2018-08-22 | 2020-03-03 | 华为技术有限公司 | Chroma block prediction method and device |
CN110876061A (en) * | 2018-09-03 | 2020-03-10 | 华为技术有限公司 | Chroma block prediction method and device |
WO2020048430A1 (en) * | 2018-09-03 | 2020-03-12 | 华为技术有限公司 | Chroma block prediction method and device |
CN110876061B (en) * | 2018-09-03 | 2022-10-11 | 华为技术有限公司 | Chroma block prediction method and device |
CN111699681A (en) * | 2019-06-25 | 2020-09-22 | 北京大学 | Video image processing method, device and storage medium |
CN111699681B (en) * | 2019-06-25 | 2023-11-14 | 北京大学 | Video image processing method, device and storage medium |
WO2021004152A1 (en) * | 2019-07-10 | 2021-01-14 | Oppo广东移动通信有限公司 | Image component prediction method, encoder, decoder, and storage medium |
US12047557B2 (en) | 2019-07-10 | 2024-07-23 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Colour component prediction method, encoder, decoder, and storage medium |
CN110602491A (en) * | 2019-08-30 | 2019-12-20 | 中国科学院深圳先进技术研究院 | Intra-frame chroma prediction method, device and equipment and video coding and decoding system |
WO2021035717A1 (en) * | 2019-08-30 | 2021-03-04 | 中国科学院深圳先进技术研究院 | Intra-frame chroma prediction method and apparatus, device, and video coding and decoding system |
CN110602491B (en) * | 2019-08-30 | 2022-07-19 | 中国科学院深圳先进技术研究院 | Intra-frame chroma prediction method, device and equipment and video coding and decoding system |
Also Published As
Publication number | Publication date |
---|---|
CN103260018B (en) | 2017-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103260018A (en) | Intra-frame image predictive encoding and decoding method and video codec | |
CN113411577B (en) | Coding method and device | |
US11140401B2 (en) | Coded-block-flag coding and derivation | |
CN114650419B (en) | Encoder, decoder and corresponding methods for intra prediction | |
CN112929670B (en) | Adaptive chroma downsampling and color space conversion techniques | |
CN113785577B (en) | Method and apparatus for indicating chroma quantization parameter mapping functions | |
US10757428B2 (en) | Luma and chroma reshaping of HDR video encoding | |
KR102661224B1 (en) | How to intra-predict blocks in an image | |
KR102612489B1 (en) | Video decoding methods and video decoders | |
CN114270837A (en) | Lossless mode for general video codec | |
CN114287133A (en) | Weighting factors for predictive sampling filtering in intra mode | |
KR20240005108A (en) | Image prediction method, apparatus, and system, device, and storage medium | |
KR102573294B1 (en) | Individual merge list for subblock merge candidates and intra-inter technology harmonization for video coding | |
US10999604B2 (en) | Adaptive implicit transform setting | |
KR20240131482A (en) | Inter prediction method and apparatus | |
CN115918071A (en) | Adapting a transformation process to a neural network based intra-prediction mode | |
KR102631517B1 (en) | Picture segmentation method and device | |
US10623779B2 (en) | Method for processing image using dynamic range of color component, and device therefor | |
WO2022194197A1 (en) | Separate Tree Coding Restrictions | |
WO2020140889A1 (en) | Quantization and dequantization method and device | |
EP3146718B1 (en) | Method and device for scalable encoding of a high dynamic range frame and/or decoding a bitstream representing such a frame | |
CN117121485A (en) | Video encoding and decoding method and system and video encoder and decoder | |
CN114788275A (en) | Derivation of quantization matrices for joint Cb-Cr coding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170922 Termination date: 20220216 |
|
CF01 | Termination of patent right due to non-payment of annual fee |