# US 2025/0097478 A1 · 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 2025/0097478 A1
- Document ID: US20250097478A1
- Status: Published application
- Kind: A1
- Application number: 18/966,042
- Filed: 2024-12-02
- Published: 2025-03-20
- 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/US20250097478A1

## 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:
a memory storing instructions; and
at least one processor in communication with the memory, the at least one processor configured, upon execution of the instructions, to perform the following steps:
generate filtered pixel values from original pixel values of pixels, wherein the pixels comprise at least two decision pixels in a decision pixel line and at least one non-decision pixel in a non-decision pixel line, the filtered pixel values including at least two filtered decision pixel values and at least one filtered non-decision pixel value;
clip the filtered pixel values, wherein the at least two filtered decision pixel values of the at least two decision pixels are clipped using a first clipping value, and the at least one filtered non-decision pixel value of the at least one non-decision pixel is clipped using a second clipping value that depends upon a distance of a first pixel from the block edge.

### Claim 2 (depends on 1)

The image processing device of claim 1, wherein distances of the at least two decision pixels from the block edge are different.

### Claim 3 (depends on 1)

The image processing device of claim 1, wherein the second clipping value for clipping the at least one non-decision pixel is acquired using a function or a look-up table.

### Claim 4 (depends on 1)

The image processing device of claim 1, wherein the second clipping value for clipping the at least one non-decision pixel is acquired using 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 at least two decision pixels and the at least one non-decision 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 decision pixel line is used in determining a filtering to be performed.

### Claim 7 (depends on 1)

The image processing device of claim 1, wherein the at least two decision pixels and the at least one non-decision pixel are in the first block.

### 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 pixels, wherein the pixels comprise at least two decision pixels in a decision pixel line and at least one non-decision pixel in a non-decision pixel line, the filtered pixel values including at least two filtered decision pixel values and at least one filtered non-decision pixel value;
clipping the filtered pixel values, wherein the at least two filtered decision pixel values of the at least two decision pixels are clipped using a first clipping value, and the at least one filtered non-decision pixel value of the at least one non-decision pixel is clipped using a second clipping value that depends upon a distance of a first pixel from the block edge.

### Claim 9 (depends on 8)

The method of claim 8, wherein distances of the at least two decision pixels from the block edge are different.

### Claim 10 (depends on 8)

The method of claim 8, wherein the second clipping value for clipping the at least one non-decision pixel value is acquired using a function or a look-up table.

### Claim 11 (depends on 8)

The method of claim 8, wherein the second clipping value for clipping the at least one non-decision pixel value is acquired using 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 at least two decision pixels and the at least one non-decision 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 decision pixel line is used in determining a filtering to be performed.

### Claim 14 (depends on 8)

The method of claim 8, wherein the at least two decision pixels and the at least one non-decision pixel are in the first block.

### Claim 15

A non-transitory computer-readable media storing computer instructions that configure at least one processor, upon execution of the instructions, to perform the following steps:
generate filtered pixel values from original pixel values of pixels, wherein the pixels comprise at least two decision pixels in a decision pixel line and at least one non-decision pixel in a non-decision pixel line, the filtered pixel values including at least two filtered decision pixel values and at least one filtered non-decision pixel value;
clip the filtered pixel values, wherein the at least two filtered decision pixel values of the at least two decision pixels are clipped using a first clipping value, and the at least one filtered non-decision pixel value of the at least one non-decision pixel is clipped using a second clipping value that depends upon a distance of a first pixel from a block edge between two blocks.

### Claim 16 (depends on 15)

The computer-readable media of claim 15, wherein distances of the at least two decision pixels from the block edge are different.

### Claim 17 (depends on 15)

The computer-readable media of claim 15, wherein the second clipping value for clipping the at least one non-decision pixel value is acquired using a function, a look-up table, or a monotonically decreasing function of the distance of the first pixel from the block edge.

### Claim 18 (depends on 15)

The computer-readable media of claim 15, wherein the at least two decision pixels and the at least one non-decision 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 19 (depends on 15)

The computer-readable media of claim 15, wherein the decision pixel line is used in determining a filtering to be performed.

### Claim 20 (depends on 15)

The computer-readable media of claim 15, wherein the at least two decision pixels and the at least one non-decision pixel are in a first block.
