# US 11,310,534 B2 · Image coding method and device using deblocking filtering

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

- Number: US 11,310,534 B2
- Document ID: US11310534B2
- Status: Granted
- Kind: B2
- Application number: 17/356,016
- Filed: 2021-06-23
- Published: 2021-10-14
- Granted: 2022-04-19
- Earliest claimed: 2019-01-02
- Assignees: LG Electronics Inc.
- Applicants: LG Electronics Inc.
- Inventors: Hyeongmoon Jang; Junghak Nam
- Web page: https://patentgrep.com/patent/US11310534B2

## CPC

- H04N 19/82: involving filtering within a prediction loop
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method by which a decoding device decodes an image, according to the present document, comprises the steps of: generating a restoration picture on the basis of prediction samples of a coding block; deriving a boundary strength (BS) for a boundary of the coding block in the restoration picture; performing deblocking filtering on the boundary of the coding block on the basis of the boundary strength; and deriving a modified restoration picture for the restoration picture on the basis of the deblocking filtering, wherein the boundary strength is derived on the basis of a prediction mode of a first block and a second block that are adjacent to the boundary of the coding block, and the prediction mode of the first block or the second block is derived on the basis of whether the prediction mode of the first block or the second block is a current picture referencing (CPR) mode to be coded in reference to a current picture.

## Claims

### Claim 1

An image decoding method performed by a decoding apparatus, the method comprising:
generating a reconstructed picture based on predicted samples of a coding block;
deriving a boundary strength (bs) for a boundary of the coding block in the reconstructed picture;
performing a deblocking filtering on the boundary of the coding block based on the boundary strength; and
deriving a modified reconstructed picture for the reconstructed picture based on the deblocking filtering,
wherein the boundary strength is derived based on prediction modes of a first block and a second block adjacent to the boundary of the coding block,
wherein based on a case where the prediction modes of the first block and the second block are different, a value of the boundary strength is set equal to 1,
wherein the case further comprising:
the prediction mode of the first block being a current picture referencing (CPR) mode which is coded with reference to a current picture and the prediction mode of the second block being different from the first block, wherein the prediction mode of the first block being the CPR mode and the prediction mode of the second block being palette mode.

### Claim 2 (depends on 1)

The image decoding method of claim 1, wherein the deriving of the boundary strength derives the value of the boundary strength as 1, based on a case where the prediction modes of the first block and the second block are different and the prediction mode of the first block is the CPR mode and the prediction mode of the second block is an inter prediction mode.

### Claim 3 (depends on 1)

The image decoding method of claim 1, wherein the deriving of the boundary strength derives a value of the boundary strength as 0, based on a case where both the prediction modes of the first block and the second block are the CPR mode.

### Claim 4 (depends on 1)

The image decoding method of claim 1, wherein the deriving of the boundary strength derives a value of the boundary strength as 2, based on a case where both the prediction modes of the first block and the second block are not the CPR mode and the prediction mode of the first block or the prediction mode of the second block is an intra prediction mode.

### Claim 5 (depends on 1)

The image decoding method of claim 1, wherein the deriving of the boundary strength derives the boundary strength for a boundary of a subblock in the coding block, based on a case where the prediction mode in which motion information is derived in units of subblock is applied to the coding block.

### Claim 6

An image encoding method performed by an encoding apparatus, the method comprising:
generating a reconstructed picture based on predicted samples of a coding block;
deriving a boundary strength (bs) for a boundary of the coding block in the reconstructed picture;
performing a deblocking filtering on the boundary of the coding block based on the boundary strength;
deriving a modified reconstructed picture for the reconstructed picture based on the deblocking filtering; and
encoding image information comprising information on the coding block,
wherein the boundary strength is derived based on prediction modes of a first block and a second block adjacent to the boundary of the coding block,
wherein based on a case where the prediction modes of the first block and the second block are different, a value of the boundary strength is set equal to 1,
wherein the case further comprising:
the prediction mode of the first block being a current picture referencing (CPR) mode which is coded with reference to a current picture and the prediction mode of the second block being different from the first block, wherein the prediction mode of the first block being the CPR mode and the prediction mode of the second block being palette mode.

### Claim 7 (depends on 6)

The image encoding method of claim 6, wherein the deriving of the boundary strength derives the value of the boundary strength as 1, based on a case where the prediction modes of the first block and the second block are different and the prediction mode of the first block is the CPR mode and the prediction mode of the second block is an inter prediction mode.

### Claim 8 (depends on 6)

The image encoding method of claim 6, wherein the deriving of the boundary strength derives a value of the boundary strength as 0, based on a case where both the prediction modes of the first block and the second block are the CPR mode.

### Claim 9 (depends on 6)

The image encoding method of claim 6, wherein the deriving of the boundary strength derives a value of the boundary strength as 2, based on a case where both the prediction modes of the first block and the second block are not the CPR mode and the prediction mode of the first block or the prediction mode of the second block is an intra prediction mode.

### Claim 10 (depends on 6)

The image encoding method of claim 6, wherein the deriving of the boundary strength derives the boundary strength for a boundary of a subblock in the coding block, based on a case where the prediction mode in which motion information is derived in units of subblock is applied to the coding block.

### Claim 11

A non-transitory computer-readable storage medium storing encoded image information generated by performing the steps of:
generating a reconstructed picture based on predicted samples of a coding block;
deriving a boundary strength (bs) for a boundary of the coding block in the reconstructed picture;
performing a deblocking filtering on the boundary of the coding block based on the boundary strength;
deriving a modified reconstructed picture for the reconstructed picture based on the deblocking filtering; and
encoding image information comprising information on the coding block,
wherein the boundary strength is derived based on prediction modes of a first block and a second block adjacent to the boundary of the coding block,
wherein based on a case where the prediction modes of the first block and the second block are different, a value of the boundary strength is set equal to 1,
wherein the case further comprising:
the prediction mode of the first block being a current picture referencing (CPR) mode which is coded with reference to a current picture and the prediction mode of the second block being different from the first block, wherein the prediction mode of the first block being the CPR mode and the prediction mode of the second block being palette mode.
