# US 11,122,299 B2 · Deblocking filter for sub-partition boundaries caused by intra sub-partition coding tool

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

- Number: US 11,122,299 B2
- Document ID: US11122299B2
- Status: Granted
- Kind: B2
- Application number: 16/994,277
- Filed: 2020-08-14
- Published: 2020-12-24
- Granted: 2021-09-14
- Earliest claimed: 2019-01-10
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Biao Wang; Anand Meher Kotra; Semih Esenlik; Han Gao; Jianle Chen
- Web page: https://patentgrep.com/patent/US11122299B2

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/66: involving data partitioning, i.e. separation of data into packets or partitions according to importance
- 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/593: involving spatial prediction techniques
- 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/82: involving filtering within a prediction loop
- H04N 19/86: involving reduction of coding artifacts, e.g. of blockiness
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

It is provided a deblocking method, for deblocking a sub-partitions boundary within a coding block in image encoding and/or image decoding. The current coding block is coded in an intra prediction mode and the current coding block is partitioned into sub-partitions comprising a first sub-partition and a second sub-partition which is adjacent to the first sub-partition. The method comprises: determining a maximum filter length to be 1 for a first/second sub-partition when a width of the first or second sub-partition is 4 samples, or when a height of the first or second sub-partition is 4 samples; modifying a value of up to one sample of the first or second sub-partition, wherein the up to one sample is obtained from a row or a column of the first or second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition.

## Claims

### Claim 1

A deblocking method, for deblocking a sub-partitions boundary within a coding block in image encoding or image decoding, wherein a current coding block is coded in an intra prediction mode and the current coding block is partitioned into sub-partitions comprising a first sub-partition and a second sub-partition which is adjacent to the first sub-partition, the method comprising:
determining one or more of a first maximum filter length to be 1 for the first sub-partition or a second maximum filter length to be 1 for the second sub-partition, when a width of the first sub-partition is 4 samples or a width of the second sub-partition is 4 samples, or when a height of the first sub-partition is 4 samples or a height of the second sub-partition is 4 samples; and
performing one or more of:
modifying, based at least in part upon the first maximum filter length, a value of up to one sample of the first sub-partition, wherein the up to one sample is obtained from a row or a column of the first sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition; or
modifying, based at least in part upon the second maximum filter length, a value of up to one sample of the second sub-partition, wherein the up to one sample is obtained from a row or a column of the second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the up to one sample, which is obtained from the column of the first or second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first and second sub-partitions, is modified when a height of the first or second sub-partition is 4 samples, and if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the up to one sample, which is obtained from the row of the first or second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first and second sub-partitions, is modified when a width of the first or second sub-partition is 4 samples, and if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical.

### Claim 4 (depends on 1)

The method according to claim 1, wherein, if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal, the sub-partitions boundary between the first and second sub-partitions is a horizontal sub-partitions boundary; or
if the intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical, the sub-partitions boundary between the first and second sub-partitions is a vertical sub-partitions boundary.

### Claim 5 (depends on 1)

The method according to claim 1, wherein, if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical, the first sub-partition is located left of the second sub-partition and the second sub-partition is intra predicted based on a reconstructed value of the first sub-partition; and
if the intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal, the first sub-partition is located above the second sub-partition and the second sub-partition is intra predicted based on a reconstructed value of the first sub-partition.

### Claim 6 (depends on 1)

The method according to claim 1, wherein a number of sub-partitions in the current coding block is 2 or 4.

### Claim 7 (depends on 1)

The method according to claim 1, wherein
if a width of the current coding block is equal to 4 and a height of the coding block is equal to 8 or if the width of the current coding block is equal to 8 and the height of the current coding block is equal to 4, a number of sub-partitions in the current coding block is 2,
otherwise, the number of sub-partitions is 4.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the up to one sample in the first or second sub-partition is modified even if the sub-partitions boundary between the first and second sub-partitions is not overlapped with an n×n sample grid, wherein n is an integer.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the up to one sample in the first or second sub-partition is modified, only if the sub-partitions boundary between the first and second sub-partitions overlaps with an n×n sample grid, wherein n is an integer.

### Claim 10 (depends on 9)

The method according to claim 9, wherein n is 4 or 8.

### Claim 11 (depends on 1)

The method according to claim 1, wherein samples of the sub-partitions are luma samples, or the samples of the sub-partitions are chroma samples.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the sub-partitions are rectangular transform block sub-partitions.

### Claim 13 (depends on 1)

The method according to claim 1, wherein an order of intra predicting the sub-partitions is from left to right, if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical, or
wherein the order of intra predicting the sub-partitions is from top to bottom, if the intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the current coding block is coded using an intra sub-partition (ISP) tool or the sub-partitions boundary is caused by an intra sub-partition (ISP) tool.

### Claim 15

A device for use in an image encoder or an image decoder, for deblocking sub-partitions boundary within a coding block, wherein a current coding block is coded in an intra prediction mode and the current coding block is partitioned into sub-partitions comprising a first sub-partition and a second sub-partition which is adjacent to the first sub-partition;
wherein the device comprises a de-blocking filter configured to:
determine one or more of a first maximum filter length to be 1 for the first sub-partition or a second maximum filter length to be 1 for the second sub-partition when a width of the first sub-partition is 4 samples or a width of the second sub-partition is 4 samples, or when a height of the first sub-partition is 4 samples or a height of the second sub-partition is 4 samples; and
perform one or more of:
modifying, based at least in part upon the first maximum filter length, a value of up to one sample of the first sub-partition, wherein the up to one sample is obtained from a row or a column of the first sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition; or
modifying, based at least in part upon the second maximum filter length, a value of up to one sample of the second sub-partition, wherein the up to one sample is obtained from a row or a column of the second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition.

### Claim 16 (depends on 15)

The device according to claim 15, wherein the up to one sample, which is obtained from the column of the first or second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first and second sub-partitions, is modified when a height of the first or second sub-partition is 4 samples, and if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal.

### Claim 17 (depends on 15)

The device according to claim 15, wherein the up to one sample, which is obtained from the row of the first or second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first and second sub-partitions, is modified when a width of the first or second sub-partition is 4 samples, and if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical.

### Claim 18 (depends on 15)

The device according to claim 15, wherein if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal, the sub-partitions boundary between the first and second sub-partitions is a horizontal sub-partitions boundary; or
if the intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical, the sub-partitions boundary between the first and second sub-partitions is a vertical sub-partitions boundary.

### Claim 19 (depends on 15)

The device according to claim 15, wherein if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical, the first sub-partition is left to the second sub-partition and the second sub-partition is intra predicted based on a reconstructed value of the first sub-partition; and
if the intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal, the first sub-partition is above the second sub-partition and the second sub-partition is intra predicted based on a reconstructed value of the first sub-partition.

### Claim 20 (depends on 15)

The device according to claim 15, wherein a number of sub-partitions in the current coding block is 2 or 4.

### Claim 21 (depends on 15)

The device according to claim 15, wherein
if a width of the current coding block is equal to 4 and a height of the coding block is equal to 8 or if the width of the current coding block is equal to 8 and the height of the current coding block is equal to 4, a number of sub-partitions in the current coding block is 2,
otherwise, the number of sub-partitions is 4.

### Claim 22 (depends on 15)

The device according to claim 15, wherein the up to one sample in the first or second sub-partition is modified even if the sub-partitions boundary between the first and second sub-partitions is not overlapped with an n×n sample grid, wherein n is an integer.

### Claim 23 (depends on 15)

The device according to claim 15, wherein the up to one sample in the first or second sub-partition is modified only if the sub-partitions boundary between the first and second sub-partitions overlaps with an n×n sample grid, wherein n is an integer.

### Claim 24 (depends on 15)

The device according to claim 15, wherein n is 4 or 8.

### Claim 25 (depends on 15)

The device according to claim 15, wherein samples of the sub-partitions are luma samples, or the samples of the sub-partitions are chroma samples.

### Claim 26 (depends on 15)

The device according to claim 15, wherein the sub-partitions are rectangular transform block sub-partitions.

### Claim 27 (depends on 15)

The device according to claim 15, wherein an order of intra predicting the sub-partitions is from left to right if an intra sub-partitions split type of partitioning the current coding block into sub-partitions is vertical, or
wherein the order of intra predicting the sub-partitions is from top to bottom, if the intra sub-partitions split type of partitioning the current coding block into sub-partitions is horizontal.

### Claim 28 (depends on 15)

The device according to claim 15, wherein the current coding block is coded using an intra sub-partition (ISP) tool or the sub-partitions boundary is caused by an intra sub-partition (ISP) tool.

### Claim 29

A non-transitory computer-readable medium carrying a program code which, when executed by a computing device, causes the computing device to perform operations for deblocking a sub-partitions boundary within an current coding block in image encoding or image decoding, wherein the current coding block is coded in an intra prediction mode and the current coding block is partitioned into sub-partitions comprising a first sub-partition and a second sub-partition which is adjacent to the first sub-partition;
wherein the operations comprise:
determining one or more of a first maximum filter length to be 1 for the first sub-partition or a second maximum filter length to be 1 for the second sub-partition when a width of the first sub-partition is 4 samples or a width of the second sub-partition is 4 samples, or when a height of the first sub-partition is 4 samples or a height of the second sub-partition is 4 samples; and
performing one or more of:
modifying, based at least in part upon the first maximum filter length, a value of up to one sample of the first sub-partition, wherein the up to one sample is obtained from a row or a column of the first sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition; or
modifying, based at least in part upon the second maximum filter length, a value of up to one sample of the second sub-partition, wherein the up to one sample is obtained from a row or a column of the second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition.

### Claim 30

A device, comprising:
one or more processors; and
a non-transitory computer-readable storage medium coupled to the one or more processors and storing programming for execution by the one or more processors, wherein the programming, when executed by the processors, configures the device to carry out operations for deblocking a sub-partitions boundary within an current coding block in image encoding or image decoding, wherein the current coding block is coded in an intra prediction mode and the current coding block is partitioned into sub-partitions comprising a first sub-partition and a second sub-partition which is adjacent to the first sub-partition;
wherein the operations comprises:
determining one or more of a first maximum filter length to be 1 for the first sub-partition or a second maximum filter length to be 1 for the second sub-partition, when a width of the first sub-partition is 4 samples or a width of the second sub-partition is 4 samples, or when a height of the first sub-partition is 4 samples or a height of the second sub-partition is 4 samples; and
performing one or more of:
modifying, based at least in part upon the first maximum filter length, a value of up to one sample of the first sub-partition, wherein the up to one sample is obtained from a row or a column of the first sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition; or
modifying, based at least in part upon the second maximum filter length, a value of up to one sample of the second sub-partition, wherein the up to one sample is obtained from a row or a column of the second sub-partition that is perpendicular to and adjacent to the sub-partitions boundary between the first sub-partition and the second sub-partition.
