# US 2021/0084296 A1 · Method and apparatus for encoding/decoding an image based on in-loop filter

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

- Number: US 2021/0084296 A1
- Document ID: US20210084296A1
- Status: Published application
- Kind: A1
- Application number: 17/025,455
- Filed: 2020-09-18
- Published: 2021-03-18
- Earliest claimed: 2019-09-18
- Assignees: B1 Institute of Image Technology, Inc.
- Inventors: Ki Baek KIM
- Web page: https://patentgrep.com/patent/US20210084296A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N 19/61: in combination with predictive coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image encoding/decoding method and apparatus of the present invention may divide one picture into a plurality of division units, determine whether to perform filtering on a boundary of a current division unit based on a predetermined flag, and perform filtering on the boundary of the current division unit in response to the determination.

## Claims

### Claim 1

A method of decoding an image, comprising:
dividing one picture into a plurality of division units;
determining whether to perform filtering on a boundary of a current division unit based on a predetermined flag; and
performing filtering on the boundary of the current division unit in response to the determination,
wherein the division unit includes at least one of a sub picture, a slice, or a tile,
wherein the flag includes at least one of a first flag indicating whether filtering is performed on a boundary of a division unit within the one picture or a second flag indicating whether filtering is performed on the boundary of the current division unit in the one picture,
wherein whether to perform filtering on the boundary of the current division unit is determined by further considering a third flag indicating whether filtering is performed on a boundary of a neighboring division unit adjacent to the current block unit.

### Claim 2 (depends on 1)

The method of claim 1, wherein when the first flag is a first value, it is not restricted so that filtering is not performed on the boundary of the division unit within the one picture, and when the first flag is a second value, the restriction on the boundary of the division unit within the picture is not imposed,
wherein when the second flag is the first value, it is restricted so that filtering is not performed on the boundary of the current division unit, and when the second flag is the second value, filtering is allowed to be performed on the boundary of the current division unit.

### Claim 3 (depends on 2)

The method of claim 2, wherein the second flag is decoded only when it is not restricted so that filtering is not performed on the boundary of the division unit within the one picture according to the first flag.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method of claim 1, wherein a position of the neighboring division unit is determined based on whether the boundary of the current division unit is a vertical boundary or a horizontal boundary.

### Claim 6 (depends on 1)

The method of claim 1, wherein performing the filtering comprises:
specifying a block boundary for deblocking filtering;
deriving a decision value for the block boundary;
determining a filter type for the deblocking filtering based on the decision value; and
performing the filtering on the block boundary based on the filter type.

### Claim 7

A method of encoding an image, comprising:
dividing one picture into a plurality of division units;
determining whether to perform filtering on a boundary of a current division unit; and
performing filtering on the boundary of the current division unit in response to the determination,
wherein the division unit includes at least one of a sub picture, a slice, or a tile,
wherein determining whether to perform filtering on the boundary of the current division unit comprises,
encoding at least one of a first flag indicating whether filtering is performed on a boundary of a division unit within the one picture or a second flag indicating whether filtering is performed on the boundary of the current division unit in the one picture,
wherein whether to perform filtering on the boundary of the current division unit is determined by further considering a third flag indicating whether filtering is performed on a boundary of a neighboring division unit adjacent to the current block unit.

### Claim 8 (depends on 7)

The method of claim 7, wherein when it is determined that filtering is restricted not to be performed on the boundary of the division unit within the one picture, the first flag is encoded as a first value, and when it is determined that the restriction is not imposed on the boundary of the division unit within the picture, the first flag is encoded as a second value,
wherein when it is determined that filtering is restricted not to be performed on the boundary of the current division unit, the second flag is encoded as the first value, and when it is determined that filtering is allowed to be performed on the boundary of the current division unit, the second flag is encoded as the second value.

### Claim 9 (depends on 8)

The method of claim 8, wherein the second flag is encoded only when it is not restricted so that filtering is not performed on the boundary of the division unit within the one picture.

### Claim 10

(canceled)

### Claim 11 (depends on 7)

The method of claim 7, wherein a position of the neighboring division unit is determined based on whether the boundary of the current division unit is a vertical boundary or a horizontal boundary.

### Claim 12 (depends on 7)

The method of claim 7, wherein performing the filtering comprises:
specifying a block boundary for deblocking filtering;
deriving a decision value for the block boundary;
determining a filter type for the deblocking filtering based on the decision value; and
performing the filtering on the block boundary based on the filter type.

### Claim 13

A non-transitory computer-readable storage medium storing instructions that, when executed, cause a processor to:
divide a picture into a plurality of division units;
determine whether to perform filtering on a boundary of a current division unit based on a predetermined flag; and
perform filtering on the boundary of the current division unit in response to the determination,
wherein the division unit comprises at least one of a sub picture, a slice, or a tile,
wherein the flag comprises at least one of a first flag indicating whether filtering is performed on a boundary of a division unit within the one picture or a second flag indicating whether filtering is performed on the boundary of the current division unit in the one picture,
wherein whether to perform filtering on the boundary of the current division unit is determined by further considering a third flag indicating whether filtering is performed on a boundary of a neighboring division unit adjacent to the current block unit.
