Method and apparatus for encoding/decoding images using a prediction method adopting in-loop filtering
CAFCFirst Claim
1. A video decoding method performed by a video decoding apparatus, the method comprising:
- obtaining quantized coefficients of a current block by decoding an input bitstream;
generating a residual block of the current block by performing an inverse-quantization and an inverse-transform on the quantized coefficients;
generating a prediction block by performing an intra prediction on the current block, the intra prediction being performed by using an intra prediction mode relating to the current block and neighboring pixels adjacent to the current block;
determining, based on a direction of the intra prediction mode, both whether to perform filtering on at least one predicted pixel adjacent to a boundary of the prediction block and a location of the at least one predicted pixel on which the filtering is performed;
performing the filtering on the at least one predicted pixel adjacent to the boundary of the prediction block when the filtering is determined to be performed based on the direction of the intra prediction mode; and
generating a restored block based on the residual block and the filtered prediction block.
3 Assignments
1 Petition
Accused Products
Abstract
Disclosed is a prediction method adopting in-loop filtering. According to the present invention, a prediction method for encoding and decoding video comprises the following steps: generating a residual block of the current block through an inverse quantization and inverse transform; generating a prediction block of the current block through an intra-prediction; performing in-loop filtering on the current block in which the residual block and the prediction block are combined; and storing the current block, on which the in-loop filtering is performed, in a frame buffer for an intra-prediction of the next block to be encoded. As described above, prediction is performed using an in-loop filter during processes for encoding and decoding video, thereby improving the accuracy of prediction and reducing errors in prediction, thus improving the efficiency of video compression and reducing the amount of data to be transmitted.
83 Citations
8 Claims
-
1. A video decoding method performed by a video decoding apparatus, the method comprising:
-
obtaining quantized coefficients of a current block by decoding an input bitstream; generating a residual block of the current block by performing an inverse-quantization and an inverse-transform on the quantized coefficients; generating a prediction block by performing an intra prediction on the current block, the intra prediction being performed by using an intra prediction mode relating to the current block and neighboring pixels adjacent to the current block; determining, based on a direction of the intra prediction mode, both whether to perform filtering on at least one predicted pixel adjacent to a boundary of the prediction block and a location of the at least one predicted pixel on which the filtering is performed; performing the filtering on the at least one predicted pixel adjacent to the boundary of the prediction block when the filtering is determined to be performed based on the direction of the intra prediction mode; and generating a restored block based on the residual block and the filtered prediction block. - View Dependent Claims (2, 3)
-
-
4. A video decoding apparatus, comprising:
-
a decoder configured to obtain quantized coefficients of a current block by decoding an input bitstream and generate a residual block of the current block by performing an inverse-quantization and an inverse-transform on the quantized coefficients; a predictor configured to generate a prediction block by performing an intra prediction on the current block by using an intra prediction mode relating to the current block and neighboring pixels adjacent to the current block, determine, based on a direction of the intra prediction mode, both whether to perform filtering on at least one predicted pixel adjacent to a boundary of the prediction block and a location of the at least one predicted pixel on which the filtering is performed, and perform the filtering on the at least one predicted pixel adjacent to the boundary of the prediction block when the filtering is determined to be performed based on the direction of the intra prediction mode; and an adder configured to generate a restored block based on the residual block and the filtered prediction block. - View Dependent Claims (5, 6)
-
-
7. A video encoding method performed by a video encoding apparatus, the method comprising:
-
generating a prediction block by performing an intra prediction on a current block, the intra prediction being performed by using an intra prediction mode relating to the current block and neighboring pixels adjacent to the current block; determining, based on a direction of the intra prediction mode, both whether to perform filtering on at least one predicted pixel adjacent to a boundary of the prediction block and a location of the at least one predicted pixel on which the filtering is performed; performing the filtering on the at least one predicted pixel adjacent to the boundary of the prediction block when the filtering is determined to be performed based on the direction of the intra prediction mode; generating a residual block based on the current block and the filtered prediction block; and encoding the residual block by performing transformation and quantization on coefficients of the residual block.
-
-
8. A non-transitory computer-readable recording medium storing a bitstream that is generated by a video encoding method performed by a video encoding apparatus, the method comprising:
-
generating a prediction block by performing an intra prediction on a current block, the intra prediction being performed by using an intra prediction mode relating to the current block and neighboring pixels adjacent to the current block; determining, based on a direction of the intra prediction mode, both whether to perform filtering on at least one predicted pixel adjacent to a boundary of the prediction block and a location of the at least one predicted pixel on which the filtering is performed; performing the filtering on the at least one predicted pixel adjacent to the boundary of the prediction block when the filtering is determined to be performed based on the direction of the intra prediction mode; generating a residual block based on the current block and the filtered prediction block; and encoding the residual block by performing transformation and quantization on coefficients of the residual block.
-
Specification