# US 10,958,935 B2 · Efficient rounding for deblocking

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

- Number: US 10,958,935 B2
- Document ID: US10958935B2
- Status: Granted
- Kind: B2
- Application number: 16/160,461
- Filed: 2018-10-15
- Published: 2019-02-14
- Granted: 2021-03-23
- Earliest claimed: 2011-11-03
- Assignees: Sun Patent Trust
- Applicants: Sun Patent Trust
- Inventors: Matthias Narroschke; Anand Kotra; Semih Esenlik; Thomas Wedi
- Web page: https://patentgrep.com/patent/US10958935B2

## CPC

- H04N 19/55: Motion estimation with spatial constraints, e.g. at image or region borders
- H04N 19/105: Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/124: Quantisation
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/14: Coding unit complexity, e.g. amount of activity or edge presence estimation (H04N19/146 takes precedence)
- H04N 19/15: by monitoring actual compressed data size at the memory before deciding storage at the transmission buffer
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/182: the unit being a pixel
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/593: involving spatial prediction techniques
- H04N 19/61: in combination with predictive coding
- 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 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure relates to deblocking filtering which is applicable to smoothing the block boundaries in an image or video coding and decoding. In particular, the deblocking filtering is either strong or weak, wherein the clipping is performed differently in the strong filtering and the weak filtering.

## Claims

### Claim 1

An image decoding method comprising:
determining, on a per line basis, (i) whether or not a filter is to be applied to a boundary between a block and a neighboring block adjacent to the block, the block and the neighboring block being included in a reconstructed image, the neighboring block having a prediction signal different from a prediction signal of the block and a transform coefficient different from a transform coefficient of the block and (ii) a width of the filter when the filter is determined to be applied; and
filtering, on a per line basis, the boundary when the filter is determined to be applied, wherein
in the filtering, when the width of the filter is a first width, sample pixels in a second width are used, the first width being narrower than the second width,
in the filtering, when the width of the filter is a third width, the third width being narrower than the first width, sample pixels in a fourth width are used, the third width being narrower than the fourth width,
only results of comparing between a value calculated using pixel values and a threshold are used to determine whether or not the filter is to be applied, the pixel values being included in the block or the neighboring block, and
in calculating the value using the pixel values, a first difference value between p0 and q0 and a second difference value between p1 and q1 are used, p0 and p1 being pixel values of a first pixel and a second pixel respectively included in the block, and q0 and q1 being pixel values of a third pixel and a fourth pixel respectively included in the neighboring block, the first pixel being closest to the boundary, the second pixel being next to the first pixel, the third pixel being closest to the boundary, and the fourth pixel being next to the third pixel.

### Claim 2

An image decoding apparatus comprising:
processing circuitry, and
storage coupled to the processing circuitry;
wherein the processing circuitry, by using the storage, performs the following:
determining, on a per line basis, (i) whether or not a filter is to be applied to a boundary between a block and a neighboring block adjacent to the block, the block and the neighboring block being included in a reconstructed image, the neighboring block having a prediction signal different from a prediction signal of the block and a transform coefficient different from a transform coefficient of the block and (ii) a width of the filter when the filter is determined to be applied; and
filtering, on a per line basis, the boundary when the filter is determined to be applied, wherein
in the filtering, when the width of the filter is a first width, sample pixels in a second width are used, the first width being narrower than the second width,
in the filtering, when the width of the filter is a third width, the third width being narrower than the first width, sample pixels in a fourth width are used, the third width being narrower than the fourth width,
only results of comparing between a value calculated using pixel values and a threshold are used to determine whether or not the filter is to be applied, the pixel values being included in the block or the neighboring block, and
in calculating the value using the pixel values, a first difference value between p0 and q0 and a second difference value between p1 and q1 are used, p0 and p1 being pixel values of a first pixel and a second pixel respectively included in the block, and q0 and q1 being pixel values of a third pixel and a fourth pixel respectively included in the neighboring block, the first pixel being closest to the boundary, the second pixel being next to the first pixel, the third pixel being closest to the boundary, and the fourth pixel being next to the third pixel.
