KR20140129418A - Method for intra-prediction using residual transform, and apparatus thereof - Google Patents
Method for intra-prediction using residual transform, and apparatus thereof Download PDFInfo
- Publication number
- KR20140129418A KR20140129418A KR1020130047130A KR20130047130A KR20140129418A KR 20140129418 A KR20140129418 A KR 20140129418A KR 1020130047130 A KR1020130047130 A KR 1020130047130A KR 20130047130 A KR20130047130 A KR 20130047130A KR 20140129418 A KR20140129418 A KR 20140129418A
- Authority
- KR
- South Korea
- Prior art keywords
- residual
- pixel
- unit
- prediction
- intra prediction
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/182—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a pixel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/593—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial prediction techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Abstract
Description
The present invention relates to an image encoding / decoding method and apparatus, and more particularly, to a method of performing intra prediction using residual transformation in encoding and decoding.
Generally, in video coding, intra prediction and inter prediction are used to generate a residual signal. The reason why the residual signal is obtained is that when the data is coded with the residual signal, the amount of data is small, so that the data compression rate is high, and the better the prediction, the smaller the value of the residual signal is.
The intraprediction method predicts the data of the current block by using the pixels around the current block. The difference between the actual value and the predicted value is called a residual signal block. In the case of HEVC, the intra prediction method is increased to 35 prediction modes as shown in FIG. 1 in nine prediction modes used in the existing H.264 / AVC, and is further segmented and predicted (the planar prediction mode and the DC prediction mode 1).
In the case of the inter prediction method, the current block is compared with the blocks in the neighboring pictures to find the closest block. At this time, the position information (Vx, Vy) of the found block is referred to as a motion vector. The difference between the intra-block pixel values of the current block and the prediction block predicted by the motion vector is called a residual-signal block (motion-compensated residual block).
In this way, intra prediction and inter prediction are further subdivided so that the amount of data of the residual signal is reduced, and a video coding and decoding method with a small amount of computation is required without degrading the codec performance using an efficient transform.
An embodiment of the present invention provides a video encoding and decoding method having good performance with a small amount of computation in a transcoding process of a video codec and an apparatus therefor.
It is to be understood, however, that the technical scope of the present invention is not limited to the above-described technical problems, and other technical problems may be present.
According to an aspect of the present invention, there is provided an intra prediction method comprising: generating a residual signal according to an intra prediction mode; Performing residual transformation by applying a pixel-by-pixel DPCM in a first direction to the residual signal; And performing cross-residual transformation by applying a pixel-by-pixel DPCM in the second direction to the residual-transformed residual signal.
According to another aspect of the present invention, there is provided an intra prediction apparatus comprising: a residual signal generator for generating a residual signal according to an intra prediction mode; A residual transformation performing unit for performing residual transformation by applying a pixel-by-pixel DPCM in a first direction to the residual signal; And an intersection residual transformation performing unit for performing an intersection residual transformation by applying a pixel-based DPCM in a second direction to the residual-transformed residual signal, and the intersection residual transformation is selectively performed.
Meanwhile, the intraprediction method may be embodied as a computer-readable recording medium on which a program for execution in a computer is recorded.
According to the embodiment of the present invention, the residual signal is selectively minimized by performing a residual transform and a crossed residual transform instead of the existing intra prediction, thereby improving the compression performance .
1 is a diagram showing examples of intra prediction modes.
2 is a diagram showing an embodiment of a method of performing residual transformation.
3 is a diagram illustrating an embodiment of a residual signal in which intraprediction is performed.
4 is a diagram showing an embodiment of the result of performing the residual transformation.
5 is a block diagram showing a configuration of an encoding apparatus according to an embodiment of the present invention.
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily carry out the present invention. It should be understood, however, that the present invention may be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. In the drawings, the same reference numbers are used throughout the specification to refer to the same or like parts.
Throughout this specification, when a part is referred to as being "connected" to another part, it is not limited to a case where it is "directly connected" but also includes the case where it is "electrically connected" do.
Throughout this specification, when a member is " on " another member, it includes not only when the member is in contact with the other member, but also when there is another member between the two members.
Throughout this specification, when an element is referred to as "including " an element, it is understood that the element may include other elements as well, without departing from the other elements unless specifically stated otherwise. The terms "about "," substantially ", etc. used to the extent that they are used throughout the specification are intended to be taken to mean the approximation of the manufacturing and material tolerances inherent in the stated sense, Accurate or absolute numbers are used to help prevent unauthorized exploitation by unauthorized intruders of the referenced disclosure. The word " step (or step) "or" step "used to the extent that it is used throughout the specification does not mean" step for.
Throughout this specification, the term " combination thereof " included in the expression of the machine form means one or more combinations or combinations selected from the group consisting of the constituents described in the expression of the machine form, And the like.
As an example of a method of encoding an actual image and its depth information map, the Moving Picture Experts Group (MPEG) and the Video Coding Experts Group (VCEG) having the highest coding efficiency among the video coding standards developed so far jointly standardize Encoding can be performed using HEVC (High Efficiency Video Coding).
An embodiment of the present invention relates to a video encoding / decoding method and apparatus, and more particularly, to a video encoding / decoding method and apparatus for improving coding performance by reducing a residual signal in coding / decoding of a block-based lossless intra prediction method.
According to an embodiment of the present invention, a residual transform and a crossed residual transform are selectively performed instead of the existing intra prediction. The present invention is applied only to the vertical or horizontal direction and existing prediction can be applied to other directions.
Here, the residual transformation is performed by using pixel-based DPCM in the prediction direction using the residual signal as a result of intra prediction, with reference to FIG.
FIG. 2 is a diagram for explaining an embodiment of a method of performing pixel-by-pixel DPCM on a residual signal, and shows a case of a vertical direction (mode 26) intraprediction of HEVC (High Efficiency Video Coding).
Referring to FIG. 2, l and q are used as reference pixels to predict pixel p in the current block.
The difference between the pixel in the current block and the reference pixel is obtained in accordance with the prediction direction to obtain the residual signal, and the equation for obtaining the residual signal of the first column is expressed by
In Equation (1), r denotes a residual signal and can be expressed as shown in FIG.
In the lossless intra prediction, since the conventional prediction method is not transformed and quantized when the conventional method is applied, the residual signal becomes large and the compression rate is low.
In order to solve this problem, a pixel-based DPCM used as a reference pixel in a current block can also be used.
That is, the residual transformation in the present invention is a method of maintaining a block-based processing structure during decoding while performing pixel-by-pixel DPCM in a prediction direction using a residual signal as a result of intraprediction, and a block of HEVC (High Efficiency Video Coding) Unlike a prediction based on a current block, a pixel within a current block to be predicted is used as a reference pixel to generate a residual signal between adjacent pixels in a prediction direction (intra prediction mode), thereby minimizing the residual signal.
On the other hand, in the case of the pixel-by-pixel DPCM, since the pixel-unit DPCM must be restored in pixel units, it may violate the block unit process. However, when restoration is performed using the residual transformation as shown in the following
As a concrete example, the encoder applies the pixel-by-pixel DPCM (applying the residual transformation) in the same way as the intra prediction direction in the existing HEVC, and then calculates the residual signal as shown in
Since lossless intra compression does not go through transformation and quantization unlike lossy intra compression, the residual signal occupies the largest part of the coding efficiency. Therefore, the adjacent pixel having the most similar value to the current pixel is used as the reference pixel It is advantageous in compression.
In addition, the present invention has an advantage that it is not in violation of the block-based structure of the existing HEVC since it is restored by using the residual signal r 'which is known information transmitted from the encoder to the decoder without the restoration delay which is a disadvantage of the pixel-based DPCM .
In encoding, the residual signal obtained by applying the residual transform (pixel-by-pixel DPCM) as shown in
The residual transformation is the horizontal direction in the existing intra prediction (mode 10). It can be applied to the vertical direction (mode 26) in the same way as above, and it can be applied in all other modes.
According to an embodiment of the present invention, the cross-residual transform may be selectively performed after the residual transform as described above is performed.
In the present invention, the crossover residual transform is a process of applying the residual transform described above to the intra prediction direction to obtain the residual signal r 'and then applying the residual transform to the residual signal r' in a direction intersecting the intra prediction direction again To obtain the residual signal r ".
After performing the above residual transform, it is a crossed residual transform to perform the residual transform opposite to the prediction direction, and it can be expressed by the following equation (4).
On the other hand, the above-described cross-residual transformation can be selectively applied. For example, if the residual transform is vertical, the cross residual transform is applied horizontally, and if the residual transform is horizontal, the cross residual transform can be applied vertically.
After performing the above-mentioned cross-residual transform, the frequency domain transform and the quantization process are omitted because they are lossless compression methods, and the entropy process can be the same as the conventional intra-video compression method (such as HEVC).
In the decoding process, the above process is reversed. In the coding process, the prediction is performed in the vertical direction. Then, the block subjected to the residual transformation and the cross-residual transformation is subjected to block-based inverse cross- (Inverse Crossed Residual Transform) is applied and can be expressed by Equation (5) as follows.
The result r 'obtained after performing the inverse intersection residual transformation (horizontal direction) as shown in Equation (5) above can be decoded in the vertical direction in the same manner as the restoration process of the block-based residual transformation described above.
The residual transform and the residual residual transform according to the present invention can be selectively applied. When residual transform is applied during encoding, the inverse residual transform is applied during decoding. When the residual transform is applied during encoding, The cross residual transform is applied.
According to the embodiment of the present invention, the selective execution of the residual transform and the crossed residual transform as described above is applied only to the vertical or horizontal direction, and the existing prediction method Can be applied.
The choice of residual and crossover residual transforms in the present invention is based on rate-distortion optimization (RDO), which selects two methods in the encoder and calculates the bit rate and distortion degree (RD-Optimization) And the case where only one method is used through the option setting in the header.
In the case of the rate-distortion optimization (RDO) process, after applying both the residual transformation and the cross-residual transformation, the rate-distortion optimization method selects a method with a lower cost.
To distinguish the selected method from the decoder, the encoder adds a signaling bit of 0 or 1 when the mode is transmitted.
On the other hand, in the case of setting an option in the header, the header further includes a bit for determining on / off of using the cross residual transform. On indicates that the two methods are selected through the rate-distortion optimization described above. If it is off, only the residual transformation is used without additional signaling bits.
5 is a block diagram illustrating a configuration of an image encoding apparatus according to an embodiment of the present invention.
Generally, the encoding apparatus includes an encoding process and a decoding process, and the decoding apparatus has a decoding process. The decoding process of the decoding apparatus is the same as the decoding process of the encoding apparatus. Therefore, the encoding apparatus will be mainly described below.
As shown in FIG. 5, an image encoding apparatus according to an exemplary embodiment of the present invention includes an encoding unit and structure, Inter prediction, Intra prediction, Interpolation, Filtering, Transform ) Method and so on.
5, the image encoding apparatus includes an encoding
The encoding
The picture is composed of a plurality of slices, and the slice is composed of a plurality of maximum coding units (LCU). The LCU can be divided into a plurality of coding units (CUs), and the encoder can add information indicating whether or not to be divided to a bit stream. The decoder can recognize the position of the LCU by using the address (LcuAddr). The coding unit CU in the case where division is not allowed is regarded as a prediction unit (PU), and the decoder can recognize the position of the PU using the PU index.
The prediction unit PU may be divided into a plurality of partitions. Also, the prediction unit PU may be composed of a plurality of conversion units (TUs).
The encoding
The transform coding /
In addition, the transcoding /
The quantized two-dimensional transform coefficients are transformed into one-dimensional quantized transform coefficients by one of the predetermined scanning methods. The transformed one-dimensional sequence of quantization transform coefficients is supplied to the
The inverse quantization /
The
The
The pictures provided for intra prediction or motion estimation are referred to as reference pictures.
The motion estimation unit 131 receives the at least one reference picture stored in the
In order to optimize the prediction precision, a motion vector is determined with a fractional pixel precision, for example, 1/2 or 1/4 pixel accuracy. Since the motion vector can have a fractional pixel precision, the
The
The
The size of the filter is, for example, the number of taps, which is the number of filter coefficients of the adaptive interpolation filter.
Specifically, the
The
Therefore, since the same filter characteristic is used in a predetermined processing unit, the
The
Then, based on the generated reference picture and the motion vector determined by the motion estimation unit 131, motion compensation is performed with a small number of pixels to generate a prediction block.
The
The
The previously encoded region of the current picture is decoded again for use by the
The
The prediction type used by the image coding apparatus depends on whether the input block is coded in the intra mode or the inter mode by the coding mode determination unit.
The switching between the intra mode and the inter mode is controlled by the intra / inter selector switch.
The
As described above, the configuration of the image decoding apparatus according to an embodiment of the present invention can be derived from the configuration of the image encoding apparatus shown in FIG. 5, and for example, the inverse of the encoding process as described with reference to FIG. 5 So that the image can be decoded.
Meanwhile, in the lossless prediction according to an embodiment of the present invention, a filtering process such as a conversion and quantization process and a deblocking filter as described with reference to FIG. 5 may be omitted.
The method according to the present invention may be implemented as a program for execution on a computer and stored in a computer-readable recording medium. Examples of the computer-readable recording medium include a ROM, a RAM, a CD- , A floppy disk, an optical data storage device, and the like, and may also be implemented in the form of a carrier wave (for example, transmission over the Internet).
The computer readable recording medium may be distributed over a networked computer system so that computer readable code can be stored and executed in a distributed manner. And, functional programs, codes and code segments for implementing the above method can be easily inferred by programmers of the technical field to which the present invention belongs.
While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, It should be understood that various modifications may be made by those skilled in the art without departing from the spirit and scope of the present invention.
Claims (9)
Generating a residual signal according to an intra prediction mode;
Performing residual transformation by applying a pixel-by-pixel DPCM in a first direction to the residual signal; And
And performing cross-residual transformation by applying a pixel-by-pixel DPCM in a second direction to the residual-transformed residual signal.
Wherein the first direction is the same as the direction corresponding to the intra prediction mode.
Wherein the first direction and the second direction are directions perpendicular to each other.
And a direction corresponding to the intra-prediction mode is a vertical or horizontal direction.
Wherein the cross-residual transform is selectively performed.
And transmitting information on whether the cross-residual transformation is performed to a decoding apparatus.
A residual signal generating unit for generating a residual signal according to the intra prediction mode;
A residual transformation performing unit for performing residual transformation by applying a pixel-by-pixel DPCM in a first direction to the residual signal; And
And an intersection residual transformation performing unit for performing an intersection residual transformation by applying a pixel-by-pixel DPCM in a second direction to the residual-transformed residual signal,
Wherein the cross-residual transform is performed selectively.
Wherein the first direction is the same as the direction corresponding to the intra prediction mode and the second direction is perpendicular to the direction corresponding to the intra prediction mode.
And the direction corresponding to the intra-prediction mode is a vertical or horizontal direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130047130A KR20140129418A (en) | 2013-04-29 | 2013-04-29 | Method for intra-prediction using residual transform, and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020130047130A KR20140129418A (en) | 2013-04-29 | 2013-04-29 | Method for intra-prediction using residual transform, and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20140129418A true KR20140129418A (en) | 2014-11-07 |
Family
ID=52454691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020130047130A KR20140129418A (en) | 2013-04-29 | 2013-04-29 | Method for intra-prediction using residual transform, and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20140129418A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020235959A1 (en) * | 2019-05-22 | 2020-11-26 | 엘지전자 주식회사 | Method and device for decoding image by using bdpcm in image coding system |
-
2013
- 2013-04-29 KR KR1020130047130A patent/KR20140129418A/en not_active Application Discontinuation
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020235959A1 (en) * | 2019-05-22 | 2020-11-26 | 엘지전자 주식회사 | Method and device for decoding image by using bdpcm in image coding system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101316060B1 (en) | Decoding method of inter coded moving picture | |
KR101431545B1 (en) | Method and apparatus for Video encoding and decoding | |
KR20100087600A (en) | Method and apparatus for coding and decoding using adaptive interpolation filters | |
EP2555523A1 (en) | Image encoding device, image decoding device, image encoding method, and image decoding method | |
KR20140124443A (en) | Method for encoding and decoding video using intra prediction, and apparatus thereof | |
KR20140129423A (en) | Method for intra-prediction, and apparatus thereof | |
KR20130045151A (en) | Method and apparatus for generating reconstruction block | |
KR20140124448A (en) | Method for encoding and decoding video using intra prediction, and apparatus thereof | |
KR20130105114A (en) | Method of decoding moving pictures in intra prediction | |
KR20140124442A (en) | Method for encoding and decoding video using intra prediction, and apparatus thereof | |
KR20140129417A (en) | Method for encoding and decoding image using a plurality of transforms, and apparatus thereof | |
KR20150105347A (en) | Intra prediction method and intra prediction apparatus using residual transform | |
KR20150105348A (en) | Method and apparatus for encoding/decoding images using transform | |
KR101204385B1 (en) | Method of decoding moving pictures in intra prediction | |
KR20140129418A (en) | Method for intra-prediction using residual transform, and apparatus thereof | |
KR20140129421A (en) | Method for intra-prediction, and apparatus thereof | |
KR20140129425A (en) | Method for intra-prediction, and apparatus thereof | |
KR100958342B1 (en) | Method and apparatus for encoding and decoding video | |
KR20110067648A (en) | Method for encoding/decoding image and apparatus for performing the same | |
KR20140129420A (en) | Method for intra-prediction using residual transform, and apparatus thereof | |
KR20140129419A (en) | Method for intra-prediction using residual transform, and apparatus thereof | |
KR20210156256A (en) | Method for intra-prediction, and apparatus thereof | |
KR20140124447A (en) | Method for encoding and decoding video using intra prediction, and apparatus thereof | |
KR20140057519A (en) | Method of encoding moving pictures | |
KR20140057516A (en) | Prediction block generation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
WITN | Withdrawal due to no request for examination |