KR20090018432A - Method for encoding and decoding video signal and apparatus thereof - Google Patents
Method for encoding and decoding video signal and apparatus thereof Download PDFInfo
- Publication number
- KR20090018432A KR20090018432A KR1020070082876A KR20070082876A KR20090018432A KR 20090018432 A KR20090018432 A KR 20090018432A KR 1020070082876 A KR1020070082876 A KR 1020070082876A KR 20070082876 A KR20070082876 A KR 20070082876A KR 20090018432 A KR20090018432 A KR 20090018432A
- Authority
- KR
- South Korea
- Prior art keywords
- picture
- residual
- generating
- current
- signal
- 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/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
- H04N19/513—Processing of motion vectors
-
- 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
- H04N19/573—Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
-
- 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/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- 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/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/86—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving reduction of coding artifacts, e.g. of blockiness
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
The present invention relates to a video encoding and decoding method and apparatus for encoding and decoding a video signal using motion compensation on a residual domain.
Motion compensation methods have been applied in various fields to reduce temporal redundancy. In the video encoding and decoding process, the current picture is divided into macroblocks of a constant size, and a motion vector indicating where each macroblock has moved has been calculated. Then, motion compensation is performed using the calculated motion vector.
The amount of data to be encoded can be reduced by encoding a residual signal which is a difference between the macroblock of the current picture and the macroblock of the predictive picture obtained by motion compensation. That is, instead of directly transmitting image data of the current picture, the motion vector and the residual signal are encoded and transmitted to the decoding side.
FIG. 1 shows an example of a residual picture composed of a prediction picture and a current picture. If (a) of FIG. 1 is referred to as the residual picture for the reference picture, and (b) of FIG. 1 is referred to as the residual picture for the current picture, it can be seen that temporal redundancy still exists in the residual picture generated through motion compensation. have.
However, in general, such temporal redundancy is not considered in a video encoding process. Therefore, it is necessary to consider a method of encoding and decoding a video signal more efficiently in consideration of the redundancy present in the residual picture.
Accordingly, an object of the present invention is to provide a video encoding method and apparatus for encoding a video signal using motion compensation on a residual domain.
Another object of the present invention is to provide a video decoding method and apparatus for decoding a video signal encoded using motion compensation on a residual domain.
According to an embodiment of the present invention, a video encoding method includes generating a first residual picture for a reference picture, generating a second residual picture for the current picture, and referring to the first residual picture, Calculating a motion vector for the second residual picture, and motion compensating the first residual picture based on the motion vector to generate a residual prediction picture, the difference between the residual prediction picture and the second residual picture; Generating a based signal.
According to an aspect of the present invention, there is provided a video encoding apparatus comprising: a motion estimation unit configured to calculate a motion vector of a second residual picture with respect to a current picture by referring to a first residual picture with respect to a reference picture, and the first residual picture And a motion compensator for generating a residual prediction picture by motion compensation using the motion vector, and a difference generator for generating a signal based on a difference between the residual prediction picture and the second residual picture.
According to the present invention, in the encoding process, signaling a flag indicating whether to use motion compensation on the residual domain at the first syntax level in the video sequence, and if the flag is activated, the residual for the reference picture There is provided a video encoding method comprising a motion vector for generating a residual prediction picture by motion compensation of a picture and a residual signal for generating a residual picture for a current picture from the residual prediction picture.
On the other hand, the video decoding method according to the present invention, motion compensation of the first residual picture for the reference picture to generate a residual prediction picture, a second for the current picture based on the residual prediction picture and the residual signal on the residual domain Generating a residual picture, generating a predictive picture by motion compensating the reference picture, and generating a current picture based on the predictive picture and the second residual picture.
In addition, the video decoding apparatus according to the present invention for achieving the above object, a motion compensation unit for generating a residual prediction picture by motion compensation of the first residual picture for the reference picture, and generating a predictive picture by motion compensation of the reference picture A first adder for generating a second residual picture for the current picture based on the sum of the residual prediction picture and the residual signal on the residual domain, and the current picture based on the sum of the prediction picture and the second picture. And a second adder to generate.
According to the present invention, in the decoding process, receiving and processing a flag indicating whether to use motion compensation on a residual domain at a first syntax level in a video sequence, and if the flag is activated, within the video sequence. Receiving and processing a motion vector and a residual signal on the residual domain, and performing motion compensation on a first residual picture for a reference picture based on the motion vector to generate a residual prediction picture, and generating the residual prediction picture and the residual domain. A video decoding method is provided that includes generating a residual picture for a current picture based on a residual signal of an image.
In order to achieve the above object, the present invention provides a recording medium that can be read by a processor that records a program for executing the method in the processor.
According to the present invention, the video signal may be encoded using the residual signal on the residual domain which further reduces the redundancy present in the residual signal by using the motion compensation on the residual domain in addition to the general motion compensation. As a result, the amount of data to be encoded can be reduced, so that the video signal can be encoded and decoded more efficiently.
Hereinafter, with reference to the drawings will be described the present invention in more detail.
The video encoding and decoding method according to the present invention basically uses motion compensation on the residual domain. That is, instead of based on the motion vector and the residual signal, a method of further reducing the amount of data to be encoded is used by using the residual signal on the residual domain calculated through motion compensation for the residual picture as a basis.
Also, for convenience of description, the current picture is F, the reference picture is Fr, the predictive picture is P, the residual picture for the current picture is F res , the residual picture for the reference picture is Fr res , and the residual picture is a residual picture for the predicted picture. The predictive picture is represented by Pres . The motion vector is represented by MV, the motion vector on the residual domain by MV res , the residual signal by R, and the residual signal by the residual domain by R res . In addition, prime (') will be used when distinguishing and displaying a decoded and reconstructed picture after encoding.
2 is a block diagram of a video encoding apparatus according to an embodiment of the present invention. Referring to FIG. 2, the
The
The
The
The case of using the residual domain motion compensation on used in the present invention, the
In addition, the
The
The
The
Meanwhile, inverse quantization and inverse transformation are performed through the
In addition, the
Each of the units may perform operations in units of blocks of various sizes such as 16 × 16, 8 × 8, 8 × 4, 4 × 8, and 4 × 4.
3 is a flowchart provided to explain a video encoding method in a video encoding apparatus according to an embodiment of the present invention. Referring to FIG. 3, first, a residual picture Fr res of a reference picture reconstructed in the previous step is generated and stored in the frame storage 130 (S200). The residual picture Fr res ' of the reconstructed reference picture is generated during the encoding process for the reference picture F r and stored in the
Next, it generates a residual picture (F res) of the current picture (S205). Similarly, the residual picture (F res) is a
In a next step, the
By this process, the amount of data to be encoded can be reduced by using the residual signal R res on the residual domain, which further reduces temporal redundancy.
4 is a diagram referred to for describing a video encoding method according to an embodiment of the present invention. 4A illustrates the
Referring to FIG. 4, a motion vector may be calculated by comparing the
Similarly, the motion vector on the residual domain may be calculated by comparing the
Therefore, the residual signal res A 'on the residual domain may be represented as follows.
5 is a block diagram of a video decoding apparatus according to an embodiment of the present invention. Referring to FIG. 5, the
In the
The
The
The
The
When motion compensation on the residual domain is used, the
In order to adaptively smooth the discontinuity in the block of the decoded picture, the
Each unit may be performed in various block units such as 16 × 16, 8 × 8, 8 × 4, 4 × 8, and 4 × 4.
6 is a flowchart provided to explain an encoding method in a video decoding apparatus according to an embodiment of the present invention. Referring to FIG. 6, when the video decoding apparatus receives a compressed bitstream through a network abstraction layer (NAL) (S500), the
By this process, the current picture F may be generated using the residual signal R res on the residual domain.
7 and 8 are views referred to for describing a smoothing method used to reduce blocking artifacts in the video encoding and decoding method according to the present invention. FIG. 7A illustrates a
As illustrated in FIG. 7, in the encoding process or the decoding process, blocking artifacts due to quantization errors may be included in generating a residual picture. In order to reduce such blocking art artifacts, as shown in FIG. 8, it is necessary to perform a smoothing process in the boundary region of each block when generating the residual picture.
First, the vertical smoothing process may be performed by the following equation.
As shown in
Such a smoothing method may be performed by each loop filter unit of the encoding apparatus and the decoding apparatus.
Meanwhile, to indicate whether motion compensation on the residual domain is used, the following flag may be inserted into the bitstream generated during the encoding process.
First, at the slice level in the video sequence, if use_MC_in_res_domain_flag is set in the slice header, this indicates that the current slice uses motion compensation on the remaining domain. In this case, the current picture F is generated by using the residual signal R res on the residual domain.
If use_MC_in_res_domain_flag is not set, this indicates that motion compensation is not used on the remaining domain. In this case, the current picture F is generated by using the general residual signal R.
Therefore, in the decoding process, it may be known whether motion compensation on the remaining domain is used by referring to use_MC_in_res_domain_flag included in the slice head.
In addition, at the macroblock level in the video sequence, if residual_pred_flag is set in the MB layer, it indicates that the current macroblock uses motion compensation on the residual domain. If residual_pred_flag is not set, this indicates that motion compensation is not used on the residual domain.
Using such a flag, it is possible to know whether motion compensation on the residual domain is used in the decoding process, and thus it is possible to adaptively decode video data encoded corresponding thereto.
9 is a diagram provided to explain a reference index assigned to a hatched residual picture. In the decoding process for constructing a reference picture list or the decoding process for generating a reference picture with respect to the encoded residual picture, as shown in FIG. 9, the encoded
The present invention can also be embodied as processor readable code on a processor readable recording medium. The processor-readable recording medium includes all kinds of recording devices that store data that can be read by a computer system. Examples of a processor-readable recording medium include ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like, and also include a carrier wave such as transmission over the Internet. The processor-readable recording medium can also be distributed over network coupled computer systems so that the processor-readable code is stored and executed in a distributed fashion.
In addition, although the preferred embodiment of the present invention has been shown and described above, the present invention is not limited to the specific embodiments described above, but the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims. Of course, various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.
1 is a diagram illustrating an example of a residual picture;
2 is a block diagram of a video encoding apparatus according to an embodiment of the present invention;
3 is a flowchart provided to explain a video encoding method in a video encoding apparatus according to an embodiment of the present invention;
4 is a diagram referred to for describing a video encoding method according to an embodiment of the present invention;
5 is a block diagram of a video decoding apparatus according to an embodiment of the present invention;
6 is a flowchart provided to explain a video decoding method in a video decoding apparatus according to an embodiment of the present invention;
8 and 9 are views referred to in the description of a smoothing method for reducing blocking artifacts, and
FIG. 9 is a diagram provided to explain a reference index allocated to an encoded residual picture. FIG.
Explanation of symbols on the main parts of the drawings
110: motion estimation unit 120: motion compensation unit
130: frame storage unit 140: encoder
150: inverse quantization unit 155: inverse transform unit
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070082876A KR20090018432A (en) | 2007-08-17 | 2007-08-17 | Method for encoding and decoding video signal and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070082876A KR20090018432A (en) | 2007-08-17 | 2007-08-17 | Method for encoding and decoding video signal and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20090018432A true KR20090018432A (en) | 2009-02-20 |
Family
ID=40686708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020070082876A KR20090018432A (en) | 2007-08-17 | 2007-08-17 | Method for encoding and decoding video signal and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20090018432A (en) |
-
2007
- 2007-08-17 KR KR1020070082876A patent/KR20090018432A/en not_active Application Discontinuation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101830352B1 (en) | Method and Apparatus Video Encoding and Decoding using Skip Mode | |
KR101365575B1 (en) | Method and apparatus for encoding and decoding based on inter prediction | |
US8948243B2 (en) | Image encoding device, image decoding device, image encoding method, and image decoding method | |
KR101418096B1 (en) | Video Coding Method and Apparatus Using Weighted Prediction | |
KR101138393B1 (en) | Apparatus and method for encoding/decoding of color image and video using different prediction among color components according to coding modes | |
KR101342587B1 (en) | Method and Apparatus for encoding and decoding the compensated illumination change | |
KR101127221B1 (en) | Apparatus and method for encoding/decoding of color image and video using prediction of color components in frequency domain | |
US20200195932A1 (en) | Method and apparatus for determining reference picture set of image | |
EP2156673A1 (en) | Method and apparatus for encoding and decoding image using object boundary based partition | |
KR20090095012A (en) | Method and apparatus for encoding and decoding image using consecutive motion estimation | |
KR100694137B1 (en) | Apparatus for encoding or decoding motion image, method therefor, and recording medium storing a program to implement thereof | |
US20120008686A1 (en) | Motion compensation using vector quantized interpolation filters | |
KR20130003718A (en) | Method and apparatus for image encoding/decoding by fast coding unit mode decision | |
WO2008082099A1 (en) | Method and apparatus for determining coding for coefficients of residual block, encoder and decoder | |
KR101375667B1 (en) | Method and apparatus for Video encoding and decoding | |
US20120008687A1 (en) | Video coding using vector quantized deblocking filters | |
KR101426271B1 (en) | Method and apparatus for Video encoding and decoding | |
KR20090098214A (en) | Method and apparatus for video encoding and decoding | |
KR20120015495A (en) | Method and apparatus for encoding/decoding of video data capable of skipping filtering mode | |
KR101449683B1 (en) | Motion Vector Coding Method and Apparatus by Using Motion Vector Resolution Restriction and Video Coding Method and Apparatus Using Same | |
KR100928325B1 (en) | Image encoding and decoding method and apparatus | |
KR101527148B1 (en) | Inter Prediction Apparatus and Video Encoding/Decoding Apparatus and Method Using Same | |
KR100939358B1 (en) | Method and apparatus for encoding and decoding image in pixel domain | |
US20150319440A1 (en) | Video coding device, video coding method, and video coding program | |
KR20090018432A (en) | Method for encoding and decoding video signal and apparatus thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WITN | Withdrawal due to no request for examination |