# US 2022/0295115 A1 · Method and apparatus for encoding/decoding images using a prediction method adopting in-loop filtering

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0295115 A1
- Document ID: US20220295115A1
- Status: Published application
- Kind: A1
- Application number: 17/829,160
- Filed: 2022-05-31
- Published: 2022-09-15
- Earliest claimed: 2011-04-21
- Assignees: Dolby Laboratories Licensing Corporation
- Applicants: Dolby Laboratories Licensing Corporation
- Inventors: Je Chang JEONG; Ki Baek KIM; Dong Jin JUNG
- Web page: https://patentgrep.com/patent/US20220295115A1

## CPC

- H04N 19/80: Details of filtering operations specially adapted for video compression, e.g. for pixel interpolation (H04N19/635, H04N19/86 take precedence)
- H04N 19/126: Details of normalisation or weighting functions, e.g. normalisation matrices or variable uniform quantisers
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/45: {performing compensation of the inverse transform mismatch, e.g. Inverse Discrete Cosine Transform [IDCT] mismatch}
- H04N 19/50: using predictive coding (H04N19/61 takes precedence)
- H04N 19/593: involving spatial prediction techniques
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/59: involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## 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.

## Claims

### Claim 1

A video decoding method performed by a video decoding apparatus, the method comprising:
generating a residual image for the current image by performing inverse-quantization on quantized coefficients for the current image;
generating a prediction image for the current image by performing prediction;
generating a reconstructed image by summing the residual image and the prediction image; and
performing in-loop filtering on the reconstructed image,
wherein the performing the in-loop filtering comprises
performing a deblocking filtering; and
performing, after the deblocking filtering, a secondary filtering,
wherein the performing the secondary filtering comprises
obtaining a difference value based on information on the difference value obtained from a bitstream, the difference value being determined based on a difference between a pixel of an original image and a corresponding pixel of the reconstructed image; and
correcting the pixel of the reconstructed image by adding the difference value to the pixel of the reconstructed image, and
wherein a type of the secondary filtering is determined based on a directionality of a target block of the secondary filtering.

### Claim 2 (depends on 1)

The method of claim 1, wherein the difference value is determined based on pixels of the reconstructed image.

### Claim 3

A video encoding method performed by a video encoding apparatus, the method comprising:
generating a residual image for the current image by performing inverse-quantization on quantized coefficients for the current image;
generating a prediction image for the current image by performing prediction;
generating a reconstructed image by summing the residual image and the prediction image; and
performing in-loop filtering on the reconstructed image,
wherein the performing the in-loop filtering comprises
performing a deblocking filtering; and
performing, after the deblocking filtering, a secondary filtering,
wherein the performing the secondary filtering comprises
determining a difference value based on a difference between a pixel of an original image and a corresponding pixel of the reconstructed image;
correcting the pixel of the reconstructed image by adding the difference value to the pixel of the reconstructed image; and
encoding information on the difference value into a bitstream, and
wherein a type of the secondary filtering is determined based on a directionality of a target block of the secondary filtering.

### Claim 4

A computer-readable recording medium storing a bitstream that is generated by a video encoding method, the method comprising:
generating a residual image for the current image by performing inverse-quantization on quantized coefficients for the current image;
generating a prediction image for the current image by performing prediction;
generating a reconstructed image by summing the residual image and the prediction image; and
performing in-loop filtering on the reconstructed image,
wherein the performing the in-loop filtering comprises
performing a deblocking filtering; and
performing, after the deblocking filtering, a secondary filtering,
wherein the performing the secondary filtering comprises
determining a difference value based on a difference between a pixel of an original image and a corresponding pixel of the reconstructed image;
correcting the pixel of the reconstructed image by adding the difference value to the pixel of the reconstructed image; and
encoding information on the difference value into a bitstream, and
wherein a type of the secondary filtering is determined based on a directionality of a target block of the secondary filtering.
