CN103248885A - Intra frame image prediction coding and decoding methods, video coder and video decoder - Google Patents

Intra frame image prediction coding and decoding methods, video coder and video decoder Download PDF

Info

Publication number
CN103248885A
CN103248885A CN2012100332205A CN201210033220A CN103248885A CN 103248885 A CN103248885 A CN 103248885A CN 2012100332205 A CN2012100332205 A CN 2012100332205A CN 201210033220 A CN201210033220 A CN 201210033220A CN 103248885 A CN103248885 A CN 103248885A
Authority
CN
China
Prior art keywords
pixel
predicting unit
current predicting
carried out
predict
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
CN2012100332205A
Other languages
Chinese (zh)
Other versions
CN103248885B (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.)
LG Electronics China Research and Development Center Co Ltd
Original Assignee
LG Electronics China Research and Development Center Co Ltd
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 LG Electronics China Research and Development Center Co Ltd filed Critical LG Electronics China Research and Development Center Co Ltd
Priority to CN201210033220.5A priority Critical patent/CN103248885B/en
Publication of CN103248885A publication Critical patent/CN103248885A/en
Application granted granted Critical
Publication of CN103248885B publication Critical patent/CN103248885B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses intra frame image prediction coding and decoding methods, a video coder and a video decoder, wherein the intra frame image prediction coding method comprises the following steps: selecting part of pixels in a current prediction unit for predicting so as to obtain the predicted pixels of the selected pixels; acquiring the residual signals of the predicted pixels; sequentially performing transformation, quantization, entropy coding, inverse quantization and inverse transformation to the residual signals; reconstructing the processed signals to obtain the reconstructed pixels; and taking the reconstructed pixels as reference pixels of the current prediction unit and performing intra frame image prediction coding. Through the adoption of the intra frame image prediction coding and decoding methods, the video coder and the video decoder, the accuracy of the prediction for an intra frame image is improved, so that the efficiency of the coding and decoding for the intra frame image is improved; and since the intra frame image prediction coding and decoding methods, the video coder and the video decoder do not break the structure of a convention video prediction coding and decoding unit, the intra frame image prediction coding and decoding methods, the video coder and the video decoder are in favor of hardware implementation. The intra frame image prediction coding and decoding methods, the video coder and the video decoder can be applied in the prediction mode of a conventional intra frame image and improves the accuracy of the prediction for the conventional intra frame image, and can also be applied in the prediction of a boundary image prediction unit when the intra frame image is coded.

Description

I picture prediction decoding method and Video Codec
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
The image/video compression coding and decoding is divided into inter frame image encoding and decoding and two kinds of predictions of I picture encoding and decoding encoding and decoding technique generally.The I picture coding/decoding be used to from present frame the information of coding/decoding elementary area current coding/decoding elementary area is predicted coding/decoding.
Existing I picture prediction decoding method utilizes the neighbor of current predicting unit to predict, still, have following deficiency: the I picture prediction accuracy is not high, causes the I picture encoding-decoding efficiency low.At first, neighbor is compared with the pixel in the current predicting unit, correlation a little less than; Secondly, in image boundary, predicting unit does not have neighbor to can be used as reference pixel.
Summary of the invention
The embodiment of the invention provides a kind of inage predicting encoding method in frame, and in order to improve infraframe image coder efficient, this method comprises:
Select the partial pixel in the current predicting unit to predict, obtain the predict pixel of selected pixel;
Obtain the residual signals of described predict pixel;
Described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively to be handled;
Signal after handling is reconstructed, obtains reconstructed pixel;
With the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture predictive coding.
The embodiment of the invention also provides a kind of I picture prediction decoding method, and in order to improve the I picture decoding efficiency, this method comprises:
Select the partial pixel in the current predicting unit to predict, obtain the predict pixel of selected pixel;
Obtain the residual signals of described predict pixel;
Described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively to be handled;
Signal after handling is reconstructed, obtains reconstructed pixel;
With the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture prediction decoding.
The embodiment of the invention also provides a kind of video encoder, and in order to improve infraframe image coder efficient, this video encoder comprises:
Select prediction module, be used for selecting the partial pixel of current predicting unit to predict, obtain the predict pixel of selected pixel;
Residual signals obtains module, is used for obtaining the residual signals of described predict pixel;
Signal processing module is used for that described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively and handles;
Reconstructed module is used for the signal after handling is reconstructed, and obtains reconstructed pixel;
The intraframe predictive coding module is used for the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture predictive coding.
The embodiment of the invention also provides a kind of Video Decoder, and in order to improve the I picture decoding efficiency, this Video Decoder comprises:
Select prediction module, be used for selecting the partial pixel of current predicting unit to predict, obtain the predict pixel of selected pixel;
Residual signals obtains module, is used for obtaining the residual signals of described predict pixel;
Signal processing module is used for that described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively and handles;
Reconstructed module is used for the signal after handling is reconstructed, and obtains reconstructed pixel;
The infra-frame prediction decoder module is used for the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture prediction decoding.
The I picture prediction decoding method of the embodiment of the invention utilizes the reconstructed pixel of this part pixel to improve the I picture prediction accuracy, thereby improves the I picture encoding-decoding efficiency based on the partial pixel in the current predicting unit of the reconstruct of encoding in advance; This method is not destroyed existing video estimation codec unit structure, but has kept the structure of existing video estimation codec unit, is conducive to hardware and realizes.This method can be applied to existing I picture predictive mode, improves prediction accuracy.When this method can also be applied in the I picture encoding and decoding, the prediction of boundary image predicting unit.
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 the process chart of inage predicting encoding method in frame in the embodiment of the invention;
Fig. 2 A, Fig. 2 B are the schematic diagram of an instantiation of inage predicting encoding method in frame in the embodiment of the invention;
Fig. 3 A, Fig. 3 B, Fig. 3 C are the schematic diagram of another instantiation of inage predicting encoding method in frame in the embodiment of the invention;
Fig. 4 A, Fig. 4 B, Fig. 4 C, Fig. 4 D, Fig. 4 E are the schematic diagram of the another instantiation of inage predicting encoding method in frame in the embodiment of the invention;
Fig. 5 is the process chart 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 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.
As shown in Figure 1, in the embodiment of the invention, the handling process of inage predicting encoding method in frame can comprise:
Partial pixel in step 101, the current predicting unit of selection is predicted, obtains the predict pixel of selected pixel; For example, can select in the current predicting unit certain or some pixels (some certain pixel or pixels) to predict;
The residual signals of step 102, the described predict pixel of acquisition; For example, can obtain the residual signals of the predict pixel of this or these (this/those) pixel in the selected current predicting unit;
Step 103, described residual signals is carried out conversion (transform) successively), quantize (quantization), entropy coding, inverse quantization (inverse quantization) and inverse transformation (inverse transform) and handle;
Step 104, the signal after handling is reconstructed, obtains reconstructed pixel; For example, this or these (this/those) pixel in can the selected current predicting unit of reconstruct;
Step 105, with the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture predictive coding.
Can be learnt by flow process shown in Figure 1, the inage predicting encoding method in frame of the embodiment of the invention is based on the partial pixel in the current predicting unit of the reconstruct of encoding in advance, utilize the reconstructed pixel of this part pixel to improve the I picture prediction accuracy, thereby improve infraframe image coder efficient; This method is not destroyed (break) existing predictive encoding of video cellular construction, but has kept the structure of existing predictive encoding of video unit, is conducive to hardware and realizes.This method can be applied to existing I picture predictive mode (prediction mode), improves prediction accuracy.When this method can also be applied in infraframe image coder, the prediction of boundary image predicting unit.
During concrete enforcement, select the partial pixel in the current predicting unit to predict, obtain the predict pixel of selected pixel, can comprise:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.If selected pixel is one-row pixels, then carry out one-dimensional transform, if selected pixel is the multirow pixel, then carry out two-dimensional transform.
During concrete enforcement, with the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture predictive coding, can comprise:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture predictive coding, or utilize the adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture predictive coding;
Wherein, when current predicting unit was carried out the I picture predictive coding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
During concrete enforcement, what carry out predictive coding in selected locations of pixels described in the current predicting unit is described reconstructed pixel, rather than original described selected pixel.When current predicting unit is carried out the I picture predictive coding, can also comprise: will replace the residual signals zero setting of the described reconstructed pixel of described selected pixel in the current predicting unit.Like this, can reduce the residual signals energy, reduce computational complexity.
For image boundary predicting unit (boundary prediction unit), existing method does not have or only on a border reference picture is arranged, so forecasting accuracy is bad, has produced the bigger residual signals of energy, is unfavorable for compressed encoding.
The method of utilizing the embodiment of the invention to propose, equally there is the reference picture of similar number the Boundary Prediction unit with non-Boundary Prediction unit, thereby improves prediction accuracy, reduces the code efficiency of residual signals.
During concrete enforcement, with the neighbor of described reconstructed pixel as current predicting unit, can comprise:
With the last neighbor of described reconstructed pixel as current predicting unit.
Lift one for example shown in Fig. 2 A, the 2B.Thick lines among Fig. 2 A, the 2B are image prediction elementary boundaries.Oblique line partial pixel among Fig. 2 A is pixel (selected pixel) position of reconstruct of encoding in advance.Oblique line partial pixel among Fig. 2 B is with the reconstructed pixel of the selected pixel among Fig. 2 A last neighbor as current predicting unit (grid line partial pixel among Fig. 2 B).Wherein, the pixel of the reconstruct of having encoded in advance in the current predicting unit (being the described reconstructed pixel of selecting pixel) still can be predicted, obtains residual signals, carries out conversion, quantification and entropy coding in current predicting unit.
Among another embodiment, certain of current predicting unit or some pixel (for example pixel of the lower right corner or end row (bottom-right pixel or bottom pixel row)) can be by the reconstruct of encoding in advance, the Forecasting Methodology of this predicting unit is revised as pre existing measured value and this weighted sum of encoded pixels (weighted sum) in advance, and the adjacent encoded pixels in advance that namely fully utilizes reconstructed pixel and current predicting unit carries out the I picture predictive coding to current predicting unit.In the specific implementation, select the partial pixel in the current predicting unit to predict, can comprise:
Select the lower right corner or row pixel of the end in the current predicting unit to predict;
With the neighbor of described reconstructed pixel as current predicting unit, can comprise:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture predictive coding, can comprise:
Utilize the last adjacent and left adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture predictive coding.
Lift one for example shown in Fig. 3 A, 3B, the 3C.Thick lines are predicting unit borders among Fig. 3 A, 3B, the 3C.The vertical curve partial pixel is the adjacent encoded pixels in advance that can be used as reference among Fig. 3 A, and the grid line partial pixel is to need the pixel predicted in the present encoding unit.Fig. 3 B bend partial pixel is to be used for encoding in advance the pixel (selected pixel) of reconstruct in the current predicting unit.Filling out blackboard branch pixel among Fig. 3 C is the reconstructed pixel of selected pixel among Fig. 3 B.Wherein, the pixel of the reconstruct of having encoded in advance in the current predicting unit (being the described reconstructed pixel of selecting pixel) still can be predicted, obtains residual signals, carries out conversion, quantification and entropy coding in current predicting unit.
As seen in the embodiment of the invention, not only adjacent the and last adjacent reconstructed pixel in a left side can be done reference in the existing I picture Forecasting Methodology, and the most difficult predicted minimum capable pixel has also had better prediction before, and can be used for doing the reference pixel of current predicting unit.
The inage predicting encoding method in frame of the embodiment of the invention, at HEVC (High Efficiency Video Coding, the encoding and decoding of high efficiency video) grammar correction (syntax modification) to coding unit (coding unit) is arranged accordingly in the working draft, concrete modification has marked modification place as shown in Table 1 in the table one.
Table one
coding_unit(x0,y0,log2CUSize){ Descriptor
if(slice_type!=I)
skip_flag[x0][y0] ae(v)
if(skip_flag[x0][y0])
prediction_unit(x0,y0,log2CUSize)
else if(slice_type !=I ||log2CUSize==Log2MinCUSize){
pred_type ae(v)
x1=x0+((1<<log2CUSize)>>1)
y1=y0+((1<<log2CUSize)>>1)
x2=x1-((1<<log2CUSize)>>2)
y2=y1-((1<<log2CUSize)>>2)
x3=x1+((1<<log2CUSize)>>2)
y3=y1+((1<<log2CUSize)>>2)
if(PartMode==PART_2Nx2N){
prediction_unit(x0,y0,log2CUSize)
If (PredMode==MODE_INTRA) {----------------modification place
Rec_pattern----------------modification place ae(v)
Intra_rec_residual (x0, y0,1<<log2CUSize, rec_pattern)---modification place
----------modification place
}else if(PartMode==PART_2NxN){
prediction_unit(x0,y0,log2CUSize)
prediction_unit(x0,y 1,log2CUSize)
}else if(PartMode==PART_Nx2N){
prediction_unit(x0,y0,log2CUSize)
prediction_unit(x1,y0,log2CUSize)
}else if(PartMode==PART_2NxnU){
prediction_unit(x0,y0,log2CUSize)
prediction_unit(x0,y2,log2CUSize)
}else if(PartMode==PART_2NxnD){
prediction_unit(x0,y0,log2CUSize)
prediction_unit(x0,y3,log2CUSize)
}else if(PartMode==PART_nLx2N){
prediction_unit(x0,y0,log2CUSize)
prediction_unit(x2,y0,log2CUSize)
}else if(PartMode==PART_nRx2N){
prediction_unit(x0,y0,log2CUSize)
prediction_unit(x3,y0,log2CUSize)
}else{/*PART_NxN*/
prediction_unit(x0,y0,log2CUSize)
prediction_unit(x1,y0,log2CUSize)
prediction_unit(x0,y 1,log2CUSize)
prediction_unit(x1,y1,log2CUSize)
If (PredMode==MODE_INTRA) {----------------modification place
Rec_pattern----------------modification place ae(v)
Intra_rec_residual (x0, y0, (1<<log2CUSize)>>1, and rec_pattern)---modification place
Intra_rec_residual (x1, y0, (1<<log2CUSize)>>1, rec_pattern)----modification place
Intra_rec_residual (x0, y 1, (1<<log2CUSize)>>1, rec_pattern)----modification place
Intra_rec_residual (x1, y1, (1<<log2CUSize)>>1, rec_pattern)----modification place
----------------modification place
}
if(!pcm_flag){
transform_tree(x0,y0,log2CUSize,log2CUSize,0,0)
transform_coeff(x0,y0,log2CUSize,log2CUSize,0,0)
transform_coeff(x0,y0,log2CUSize,log2CUSize,0,1)
trahsform_coeff(x0,y0,log2CUSize,log2CUSize,0,2)
}
}
}
Rec_pattern has described the position of reconstructed pixel in the table one.Wherein intra_rec_residual is as shown in Table 2:
Table two
Intra_rec_residual (x0, y0, PUSize, rec_pattern) {------------modification place Descriptor
For (i=0; I<pixSize (PUSize, rec_pattern); I++)-------------modification place
Rec_residual_coeff_sign[x0+i] [y0-1]------------modification place ae(v)
For (i=0; I<pixSize (PUSize, rec_pattern); I++)------------modification place
Rec_residual_coeff_level[x0+i] [y0-1]------------modification place ae(v)
(PUSize rec_pattern) has described the number of reconstructed pixel to pixSize in the table two.Provide the example of a definite reconstructed pixel number below.
Shown in Fig. 4 A, PUSize=4, rec_pattern=0, pixSize (PUSize, rec_pattern)=1; Shown in Fig. 4 B, PUSize=4, rec_pattern=1, pixSize (PUSize, rec_pattern)=2; Shown in Fig. 4 C, PUSize=4, rec_pattern=2, pixSize (PUSize, rec_pattern)=2; Shown in Fig. 4 D, PUSize=4, rec_pattern=3, pixSize (PUSize, rec_pattern)=4; Shown in Fig. 4 E, PUSize=4, rec_pattern=4, pixSize (PUSize, rec_pattern)=4; Wherein, rec_residual_coeff_sign is the symbol that needs coding, and rec_residual_coeff_level is the numerical value that needs coding.
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.
As shown in Figure 5, in the embodiment of the invention, the handling process of I picture prediction decoding method can comprise:
Partial pixel in step 501, the current predicting unit of selection is predicted, obtains the predict pixel of selected pixel;
The residual signals of step 502, the described predict pixel of acquisition;
Step 503, described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation is handled successively;
Step 504, the signal after handling is reconstructed, obtains reconstructed pixel;
Step 505, with the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture prediction decoding.
Can be learnt by above-mentioned handling process, the I picture prediction decoding method of the embodiment of the invention is based on the partial pixel in the current predicting unit of the reconstruct of encoding in advance, utilize the reconstructed pixel of this part pixel to improve the I picture prediction accuracy, thereby improve the I picture decoding efficiency; This method is not destroyed existing video predictive decoding cellular construction, but has kept the structure of existing video predictive decoding unit, is conducive to hardware and realizes.This method can be applied to existing I picture predictive mode, improves prediction accuracy.When this method can also be applied in the I picture decoding, the prediction of boundary image predicting unit.
During concrete enforcement, select the partial pixel in the current predicting unit to predict, obtain the predict pixel of selected pixel, can comprise:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.
During concrete enforcement, with the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture prediction decoding, can comprise:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture prediction decoding, or utilize the adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture prediction decoding;
Wherein, when current predicting unit was carried out the I picture prediction decoding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
During concrete enforcement, with the neighbor of described reconstructed pixel as current predicting unit, can comprise:
With the last neighbor of described reconstructed pixel as current predicting unit.
During concrete enforcement, when current predicting unit is carried out the I picture prediction decoding, can also comprise:
The residual signals zero setting of the described reconstructed pixel of described selected pixel will be replaced in the current predicting unit.
During concrete enforcement, select the partial pixel in the current predicting unit to predict, can comprise:
Select the lower right corner or row pixel of the end in the current predicting unit to predict;
With the neighbor of described reconstructed pixel as current predicting unit, can comprise:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture prediction decoding, can comprise:
Utilize the last adjacent and left adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture prediction decoding.
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.
As shown in Figure 6, the video encoder in the embodiment of the invention can comprise:
Select prediction module 601, be used for selecting the partial pixel of current predicting unit to predict, obtain the predict pixel of selected pixel;
Residual signals obtains module 602, is used for obtaining the residual signals of described predict pixel;
Signal processing module 603 is used for that described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively and handles;
Reconstructed module 604 is used for the signal after handling is reconstructed, and obtains reconstructed pixel;
Intraframe predictive coding module 605 is used for the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture predictive coding.
Among the embodiment, select prediction module 601 specifically can be used for:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.
Among the embodiment, intraframe predictive coding module 605 specifically can be used for:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture predictive coding, or utilize the adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture predictive coding;
Wherein, when current predicting unit was carried out the I picture predictive coding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
Among the embodiment, intraframe predictive coding module 605 specifically can be used for:
With the last neighbor of described reconstructed pixel as current predicting unit.
Among the embodiment, intraframe predictive coding module 605 can also be used for:
The residual signals zero setting of the described reconstructed pixel of described selected pixel will be replaced in the current predicting unit.
Among the embodiment, select prediction module 601 specifically can be used for: to select the lower right corner of current predicting unit or row pixel of the end to predict;
Intraframe predictive coding module 605 specifically can be used for:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the last adjacent and left adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture predictive coding.
As shown in Figure 7, the Video Decoder in the embodiment of the invention can comprise:
Select prediction module 701, be used for selecting the partial pixel of current predicting unit to predict, obtain the predict pixel of selected pixel;
Residual signals obtains module 702, is used for obtaining the residual signals of described predict pixel;
Signal processing module 703 is used for that described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively and handles;
Reconstructed module 704 is used for the signal after handling is reconstructed, and obtains reconstructed pixel;
Infra-frame prediction decoder module 705 is used for the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture prediction decoding.
Among the embodiment, select prediction module 701 specifically can be used for:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.
Among the embodiment, infra-frame prediction decoder module 705 specifically can be used for:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture prediction decoding, or utilize the adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture prediction decoding;
Wherein, when current predicting unit was carried out the I picture prediction decoding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
Among the embodiment, infra-frame prediction decoder module 705 specifically can be used for:
With the last neighbor of described reconstructed pixel as current predicting unit.
Among the embodiment, infra-frame prediction decoder module 705 can also be used for:
The residual signals zero setting of the described reconstructed pixel of described selected pixel will be replaced in the current predicting unit.
Among the embodiment, select prediction module 701 specifically can be used for: to select the lower right corner of current predicting unit or row pixel of the end to predict;
Infra-frame prediction decoder module 705 specifically can be used for:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the last adjacent and left adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture prediction decoding.
In sum, the I picture prediction decoding method of the embodiment of the invention is based on the partial pixel in the current predicting unit of the reconstruct of encoding in advance, utilize the reconstructed pixel of this part pixel to improve the I picture prediction accuracy, thereby improve the I picture encoding-decoding efficiency; This method is not destroyed existing video estimation codec unit structure, but has kept the structure of existing video estimation codec unit, is conducive to hardware and realizes.This method can be applied to existing I picture predictive mode, improves prediction accuracy.When this method can also be applied in the I picture encoding and decoding, the prediction of boundary image predicting unit.
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 (24)

1. an inage predicting encoding method in frame is characterized in that, this method comprises:
Select the partial pixel in the current predicting unit to predict, obtain the predict pixel of selected pixel;
Obtain the residual signals of described predict pixel;
Described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively to be handled;
Signal after handling is reconstructed, obtains reconstructed pixel;
With the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture predictive coding.
2. the method for claim 1 is characterized in that, selects the partial pixel in the current predicting unit to predict, obtains the predict pixel of selected pixel, comprising:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.
3. the method for claim 1 is characterized in that, with the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture predictive coding, comprising:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture predictive coding, or utilize the adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture predictive coding;
Wherein, when current predicting unit was carried out the I picture predictive coding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
4. method as claimed in claim 3 is characterized in that, with the neighbor of described reconstructed pixel as current predicting unit, comprising:
With the last neighbor of described reconstructed pixel as current predicting unit.
5. method as claimed in claim 3 is characterized in that, when current predicting unit is carried out the I picture predictive coding, also comprises:
The residual signals zero setting of the described reconstructed pixel of described selected pixel will be replaced in the current predicting unit.
6. method as claimed in claim 3 is characterized in that, selects the partial pixel in the current predicting unit to predict, comprising:
Select the lower right corner or row pixel of the end in the current predicting unit to predict;
With the neighbor of described reconstructed pixel as current predicting unit, comprising:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture predictive coding, comprising:
Utilize the last adjacent and left adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture predictive coding.
7. I picture prediction decoding method is characterized in that this method comprises:
Select the partial pixel in the current predicting unit to predict, obtain the predict pixel of selected pixel;
Obtain the residual signals of described predict pixel;
Described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively to be handled;
Signal after handling is reconstructed, obtains reconstructed pixel;
With the reference pixel of described reconstructed pixel as current predicting unit, carry out the I picture prediction decoding.
8. method as claimed in claim 7 is characterized in that, selects the partial pixel in the current predicting unit to predict, obtains the predict pixel of selected pixel, comprising:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.
9. method as claimed in claim 7 is characterized in that, with the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture prediction decoding, comprising:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture prediction decoding, or utilize the adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture prediction decoding;
Wherein, when current predicting unit was carried out the I picture prediction decoding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
10. method as claimed in claim 9 is characterized in that, with the neighbor of described reconstructed pixel as current predicting unit, comprising:
With the last neighbor of described reconstructed pixel as current predicting unit.
11. method as claimed in claim 9 is characterized in that, when current predicting unit is carried out the I picture prediction decoding, also comprises:
The residual signals zero setting of the described reconstructed pixel of described selected pixel will be replaced in the current predicting unit.
12. method as claimed in claim 9 is characterized in that, selects the partial pixel in the current predicting unit to predict, comprising:
Select the lower right corner or row pixel of the end in the current predicting unit to predict;
With the neighbor of described reconstructed pixel as current predicting unit, comprising:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture prediction decoding, comprising:
Utilize the last adjacent and left adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture prediction decoding.
13. a video encoder is characterized in that, comprising:
Select prediction module, be used for selecting the partial pixel of current predicting unit to predict, obtain the predict pixel of selected pixel;
Residual signals obtains module, is used for obtaining the residual signals of described predict pixel;
Signal processing module is used for that described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively and handles;
Reconstructed module is used for the signal after handling is reconstructed, and obtains reconstructed pixel;
The intraframe predictive coding module is used for the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture predictive coding.
14. video encoder as claimed in claim 13 is characterized in that, described selection prediction module specifically is used for:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.
15. video encoder as claimed in claim 13 is characterized in that, described intraframe predictive coding module specifically is used for:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture predictive coding, or utilize the adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture predictive coding;
Wherein, when current predicting unit was carried out the I picture predictive coding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
16. video encoder as claimed in claim 15 is characterized in that, described intraframe predictive coding module specifically is used for:
With the last neighbor of described reconstructed pixel as current predicting unit.
17. video encoder as claimed in claim 15 is characterized in that, described intraframe predictive coding module also is used for:
The residual signals zero setting of the described reconstructed pixel of described selected pixel will be replaced in the current predicting unit.
18. video encoder as claimed in claim 15 is characterized in that, described selection prediction module specifically is used for: select the lower right corner of current predicting unit or row pixel of the end to predict;
Described intraframe predictive coding module specifically is used for:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the last adjacent and left adjacent encoded pixels in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture predictive coding.
19. a Video Decoder is characterized in that, comprising:
Select prediction module, be used for selecting the partial pixel of current predicting unit to predict, obtain the predict pixel of selected pixel;
Residual signals obtains module, is used for obtaining the residual signals of described predict pixel;
Signal processing module is used for that described residual signals is carried out conversion, quantification, entropy coding, inverse quantization and inverse transformation successively and handles;
Reconstructed module is used for the signal after handling is reconstructed, and obtains reconstructed pixel;
The infra-frame prediction decoder module is used for the reference pixel of described reconstructed pixel as current predicting unit, carries out the I picture prediction decoding.
20. Video Decoder as claimed in claim 19 is characterized in that, described selection prediction module specifically is used for:
If selected pixel be non-4n (n=1,2 ...) and individual pixel, then selected pixel is carried out the spatial domain quantization encoding;
If selected pixel be 4n (n=1,2 ...) and individual pixel, then selected pixel is carried out one dimension or two-dimensional transform earlier, carry out quantization encoding again.
21. Video Decoder as claimed in claim 19 is characterized in that, described infra-frame prediction decoder module specifically is used for:
With the neighbor of described reconstructed pixel as current predicting unit, utilize described reconstructed pixel that current predicting unit is carried out the I picture prediction decoding, or utilize the adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit that current predicting unit is carried out the I picture prediction decoding;
Wherein, when current predicting unit was carried out the I picture prediction decoding, the described selected pixel replacement in the current predicting unit was described reconstructed pixel.
22. Video Decoder as claimed in claim 21 is characterized in that, described infra-frame prediction decoder module specifically is used for:
With the last neighbor of described reconstructed pixel as current predicting unit.
23. Video Decoder as claimed in claim 21 is characterized in that, described infra-frame prediction decoder module also is used for:
The residual signals zero setting of the described reconstructed pixel of described selected pixel will be replaced in the current predicting unit.
24. Video Decoder as claimed in claim 21 is characterized in that, described selection prediction module specifically is used for: select the lower right corner of current predicting unit or row pixel of the end to predict;
Described infra-frame prediction decoder module specifically is used for:
With the following neighbor of described reconstructed pixel as current predicting unit;
Utilize the last adjacent and left adjacent decoded pixel in advance of described reconstructed pixel and current predicting unit, current predicting unit is carried out the I picture prediction decoding.
CN201210033220.5A 2012-02-14 2012-02-14 Intra-frame image prediction decoding method and Video Codec Expired - Fee Related CN103248885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210033220.5A CN103248885B (en) 2012-02-14 2012-02-14 Intra-frame image prediction decoding method and Video Codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210033220.5A CN103248885B (en) 2012-02-14 2012-02-14 Intra-frame image prediction decoding method and Video Codec

Publications (2)

Publication Number Publication Date
CN103248885A true CN103248885A (en) 2013-08-14
CN103248885B CN103248885B (en) 2018-01-26

Family

ID=48928076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210033220.5A Expired - Fee Related CN103248885B (en) 2012-02-14 2012-02-14 Intra-frame image prediction decoding method and Video Codec

Country Status (1)

Country Link
CN (1) CN103248885B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016192073A1 (en) * 2015-06-04 2016-12-08 清华大学 Encoding method, decoding method and device thereof
WO2017107074A1 (en) * 2015-12-22 2017-06-29 Realnetworks, Inc. Residual transformation and inverse transformation in video coding systems and methods
CN107404650A (en) * 2017-07-25 2017-11-28 哈尔滨工业大学 Pixel-level three-dimensional intra-frame prediction method based on adaptive model selection

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006004331A1 (en) * 2004-07-07 2006-01-12 Samsung Electronics Co., Ltd. Video encoding and decoding methods and video encoder and decoder
CN101193305A (en) * 2006-11-21 2008-06-04 安凯(广州)软件技术有限公司 Inter-frame prediction data storage and exchange method for video coding and decoding chip
CN101783957A (en) * 2010-03-12 2010-07-21 清华大学 Method and device for predictive encoding of video
CN101977317A (en) * 2010-10-27 2011-02-16 无锡中星微电子有限公司 Intra-frame prediction method and device
WO2011160251A1 (en) * 2010-06-21 2011-12-29 Thomson Broadband R&D (Beijing) Co., Ltd. Method and apparatus for encoding/decoding image data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006004331A1 (en) * 2004-07-07 2006-01-12 Samsung Electronics Co., Ltd. Video encoding and decoding methods and video encoder and decoder
CN101193305A (en) * 2006-11-21 2008-06-04 安凯(广州)软件技术有限公司 Inter-frame prediction data storage and exchange method for video coding and decoding chip
CN101783957A (en) * 2010-03-12 2010-07-21 清华大学 Method and device for predictive encoding of video
WO2011160251A1 (en) * 2010-06-21 2011-12-29 Thomson Broadband R&D (Beijing) Co., Ltd. Method and apparatus for encoding/decoding image data
CN101977317A (en) * 2010-10-27 2011-02-16 无锡中星微电子有限公司 Intra-frame prediction method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
蒋刚毅、李世平、叶锡恩、郁 梅: "基于块参考像素特征的快速帧内预测模式选择新算法", 《电子与信息学报》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016192073A1 (en) * 2015-06-04 2016-12-08 清华大学 Encoding method, decoding method and device thereof
US10375391B2 (en) 2015-06-04 2019-08-06 Tsinghua University Encoding method, decoding method and device thereof
US11057621B2 (en) 2015-06-04 2021-07-06 Tsinghua University Encoding method, decoding method and device thereof
WO2017107074A1 (en) * 2015-12-22 2017-06-29 Realnetworks, Inc. Residual transformation and inverse transformation in video coding systems and methods
CN108464005A (en) * 2015-12-22 2018-08-28 真实网络公司 Real transform and reverse transformation system in Video coding and method
US10735729B2 (en) 2015-12-22 2020-08-04 Realnetworks, Inc. Residual transformation and inverse transformation in video coding systems and methods
CN107404650A (en) * 2017-07-25 2017-11-28 哈尔滨工业大学 Pixel-level three-dimensional intra-frame prediction method based on adaptive model selection
CN107404650B (en) * 2017-07-25 2020-04-07 哈尔滨工业大学 Pixel-level three-way intra-frame prediction method based on self-adaptive mode selection

Also Published As

Publication number Publication date
CN103248885B (en) 2018-01-26

Similar Documents

Publication Publication Date Title
US11750809B2 (en) Encoding and decoding methods and apparatuses with multiple image block division manners
KR102276854B1 (en) Method and apparatus for video encoding for using in-loof filter parameter prediction, method and apparatus for video decoding for using in-loof filter parameter prediction
JP2021513755A (en) Video coding method and device using conversion skip flag
TWI536811B (en) Method and system for image processing, decoding method, encoder and decoder
KR102166335B1 (en) Method and apparatus for video encoding with transmitting SAO parameters, method and apparatus for video decoding with receiving SAO parameters
TWI504209B (en) Method for decoding pictures
KR102165855B1 (en) Method and apparatus for video encoding with transmitting SAO parameters, method and apparatus for video decoding with receiving SAO parameters
CN111919442B (en) Intra-frame mode prediction method and device for image block
CN103067716A (en) Encoding and decoding methods and encoding and decoding device of range image
CN102685474A (en) Encoding and decoding method of prediction modes, encoding and decoding device and network system
GB2531001A (en) Method and apparatus for vector encoding in video coding and decoding
WO2014190468A1 (en) Video encoder for images
CN103067715A (en) Encoding and decoding methods and encoding and decoding device of range image
CN104853201A (en) Apparatus and method for encoding/decoding image for intra-prediction
TW202402050A (en) Coding using matrix based intra-prediction and secondary transforms
CN104581159A (en) Methods for determining block partition modes during video encoding and decoding and relevant devices
KR102227660B1 (en) Method and device for transforming signal
CN103200406A (en) Encoding method, decoding method, encoding device and decoding device of depth image
CN103248885A (en) Intra frame image prediction coding and decoding methods, video coder and video decoder
CN104754343B (en) Image processing method and system, decoding method, encoder and decoder
TWI727826B (en) Coding using intra-prediction
CN105453567A (en) Scanning orders for non-transform coding
CN103299638B (en) Self-adaptive scanning device and scan method thereof
CN102131093A (en) Image processing method and device
CN103260019A (en) Intra-frame image predictive encoding and decoding method and video codec

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180126

Termination date: 20220214