# US 12,192,534 B2 · Image processing device and method for performing quality optimized deblocking

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

- Number: US 12,192,534 B2
- Document ID: US12192534B2
- Status: Granted
- Kind: B2
- Application number: 18/476,309
- Filed: 2023-09-28
- Published: 2024-03-28
- Granted: 2025-01-07
- Earliest claimed: 2018-09-24
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Anand Meher Kotra; Semih Esenlik; Biao Wang; Han Gao; Zhijie Zhao; Jianle Chen
- Web page: https://patentgrep.com/patent/US12192534B2

## CPC

- 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/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/182: the unit being a pixel
- H04N 19/34: Scalability techniques involving progressive bit-plane based encoding of the enhancement layer, e.g. fine granular scalability [FGS]
- 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: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image processing device for use in an image encoder and/or an image decoder, for deblocking a block edge between a first block and a second block of an image encoded with a block code, is provided. The image processing device comprises a filter for filtering the block edge, configured to, for at least some of the pixels to be filtered, within a deblocking range from the block edge, the deblocking range being perpendicular to the block edge, determine a filtered pixel value from an original pixel value of the pixel and at least one further pixel value, determine a clipping value of the pixel, dependent upon a distance of the pixel from the block edge, and clip the filtered pixel value, using the clipping value resulting in a deblocked pixel value.

## Claims

### Claim 1

An image processing device for use in an image encoder and/or an image decoder for deblocking a block edge between a first block and a second block of an image, the image processing device comprising:
at least one processor; and
one or more memories coupled to the at least one processor and storing programming instructions for execution by the at least one processor to cause the device to:
generate filtered pixel values from original pixel values of a first pixel, a second pixel and a third pixel, the second pixel and the third pixel being in a same decision pixel line and the first pixel is in a non-decision pixel line;
clip the filtered pixel values of the second pixel and the third pixel using a constant clipping value,
clip the filtered pixel value of the first pixel using a clipping value depending upon a distance of the first pixel from the block edge.

### Claim 2 (depends on 1)

The image processing device of claim 1, wherein a distance of the second pixel from the block edge is different from a distance of the third pixel from the block edge.

### Claim 3 (depends on 1)

The image processing device of claim 1, wherein the clipping the filtered pixel value of the first pixel using a clipping value depending upon a distance of the first pixel from the block edge comprises:
acquiring the clipping value using a function or a look-up table.

### Claim 4 (depends on 1)

The image processing device of claim 1, wherein the clipping value for the first pixel is a monotonically decreasing function of the distance of the first pixel from the block edge.

### Claim 5 (depends on 1)

The image processing device of claim 1, wherein the first pixel, the second pixel, and the third pixel are within a deblocking range from the block edge, the deblocking range comprising a number of pixels in a line perpendicular to the block edge.

### Claim 6 (depends on 1)

The image processing device of claim 1, wherein the at least one processor further executes the instructions to:
determine the filtered first pixel value from the original first pixel value of the first pixel and at least one further pixel value.

### Claim 7 (depends on 1)

The image processing device of claim 1, wherein the decision pixel line is used to determine a filtering to be performed.

### Claim 8

A deblocking method for deblocking a block edge between a first block and a second block of an image, the method comprising:
generating filtered pixel values from original pixel values of a first pixel, a second pixel and a third pixel; second pixel and the third pixel being in a same decision pixel line and the first pixel is in a non-decision pixel line;
clipping the filtered pixel values of the second pixel and the third pixel using a constant clipping value,
clipping the filtered pixel value of the first pixel using a clipping value depending upon a distance of the first pixel from the block edge.

### Claim 9 (depends on 8)

The method of claim 8, wherein a distance of the second pixel from the block edge is different from a distance of the third pixel from the block edge.

### Claim 10 (depends on 8)

The method of claim 8, wherein the clipping the filtered pixel value of the first pixel using a clipping value depending upon a distance of the first pixel from the block edge comprises:
acquiring the clipping value using a function or a look-up table.

### Claim 11 (depends on 8)

The method of claim 8, wherein the clipping value for the first pixel is a monotonically decreasing function of the distance of the first pixel from the block edge.

### Claim 12 (depends on 8)

The method of claim 8, wherein the first pixel, the second pixel, and the third pixel are within a deblocking range from the block edge, the deblocking range comprising a number of pixels in a line perpendicular to the block edge.

### Claim 13 (depends on 8)

The method of claim 8, wherein the at least one processor further executes the instructions to:
determine the filtered first pixel value from the original first pixel value of the first pixel and at least one further pixel value.

### Claim 14 (depends on 8)

The method of claim 8, wherein the decision pixel line is used to determine a filtering to be performed.

### Claim 15

A network device for transmitting encoded data, the encoded data includes specific information to allow an encoder to:
generate filtered pixel values from original pixel values of a first pixel, a second pixel and a third pixel; the second pixel and the third pixel being in a same decision pixel line and the first pixel is in a non-decision pixel line;
clip the filtered pixel values of the second pixel and the third pixel using a constant clipping value,
clip the filtered pixel value of the first pixel using a clipping value depending upon a distance of the first pixel from the block edge.

### Claim 16 (depends on 15)

The network device of claim 15, wherein a distance of the second pixel from the block edge is different from a distance of the third pixel from the block edge.

### Claim 17 (depends on 15)

The network device of claim 15, wherein the clipping the filtered pixel value of the first pixel using a clipping value depending upon a distance of the first pixel from the block edge comprises:
acquiring the clipping value using a function or a look-up table.

### Claim 18 (depends on 15)

The network device of claim 15, wherein the clipping value for the first pixel is a monotonically decreasing function of the distance of the first pixel from the block edge.

### Claim 19 (depends on 15)

The network device of claim 15, wherein the first pixel, the second pixel, and the third pixel are within a deblocking range from the block edge, the deblocking range comprising a number of pixels in a line perpendicular to the block edge.

### Claim 20 (depends on 15)

The network device of claim 15, wherein the decision pixel line is used to determine a filtering to be performed.
