# US 2025/0097475 A1 · Image encoder, image decoder, image encoding method, and image decoding method

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

- Number: US 2025/0097475 A1
- Document ID: US20250097475A1
- Status: Published application
- Kind: A1
- Application number: 18/968,346
- Filed: 2024-12-04
- Published: 2025-03-20
- Earliest claimed: 2022-06-08
- Assignees: Panasonic Intellectual Property Corporation of America
- Applicants: Panasonic Intellectual Property Corporation of America
- Inventors: Jingying GAO; Han Boon Teo; Chong Soon Lim; Praveen Kumar Yadav; Kiyofumi Abe; Takahiro Nishi; Tadamasa Toma
- Web page: https://patentgrep.com/patent/US20250097475A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- 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/136: Incoming video signal characteristics or properties
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/17: the unit being an image region, e.g. an object
- 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/85: using pre-processing or post-processing specially adapted for video compression
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/124: Quantisation
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

An image encoder includes circuitry, and a memory connected to the circuitry. The circuitry, in operation, determines a first region and a second region in an input image, generates a first image from the input image by applying a first prefilter to the first region and a second prefilter to the second region, determines a first parameter relating to the first region and a second parameter relating to the second region, and generates a bitstream by encoding the first region based on the first parameter, encoding the second region based on the second parameter, encoding the first prefilter or a first postfilter corresponding to the first prefilter, and encoding the second prefilter or a second postfilter corresponding to the second prefilter.

## Claims

### Claim 1

An image encoder comprising:
circuitry; and
a memory connected to the circuitry,
wherein the circuitry, in operation,
determines a first region and a second region in an input image,
generates a first image from the input image by applying a first prefilter to the first region and a second prefilter to the second region,
determines a first parameter relating to the first region and a second parameter relating to the second region, and
generates a bitstream by encoding the first region based on the first parameter, encoding the second region based on the second parameter, encoding the first prefilter or a first postfilter corresponding to the first prefilter, and encoding the second prefilter or a second postfilter corresponding to the second prefilter.

### Claim 2 (depends on 1)

The image encoder according to claim 1, wherein the circuitry selects a prefilter set including the first prefilter and the second prefilter from among a plurality of prefilter sets based on usage information indicating image usage at an image decoder side.

### Claim 3 (depends on 2)

The image encoder according to claim 2, wherein the image usage includes at least one machine task and human vision.

### Claim 4 (depends on 1)

The image encoder according to claim 1, wherein the first parameter and the second parameter each include at least one of a quantization parameter, a partitioning size, a prediction type, and a bounding box.

### Claim 5 (depends on 4)

The image encoder according to claim 4, wherein
the first parameter and the second parameter each include the quantization parameter, and
the circuitry determines a value of the quantization parameter, or a parity of the quantization parameter based on the first prefilter or the second prefilter.

### Claim 6 (depends on 4)

The image encoder according to claim 4, wherein
the first parameter and second parameter each include the partitioning size, and
the circuitry determines a total number of pixels of the partitioning size, an aspect ratio of the partitioning size, or a number of horizontal pixels and a number of vertical pixels of the partitioning size based on the first prefilter or the second prefilter.

### Claim 7 (depends on 4)

The image encoder according to claim 4, wherein
the first parameter and the second parameter each include the prediction type, and
the circuitry determines an intra prediction or an inter prediction as the prediction type based on the first prefilter or the second prefilter.

### Claim 8 (depends on 4)

The image encoder according to claim 4, wherein
the first parameter and the second parameter each include the bounding box, and
the circuitry determines the bounding box based on the first prefilter or the second prefilter.

### Claim 9 (depends on 1)

The image encoder according to claim 1, wherein the circuitry stores filter information in a header of the bitstream, the filter information relating to the first prefilter or the first postfilter and the second prefilter or the second postfilter.

### Claim 10 (depends on 9)

The image encoder according to claim 9, wherein the filter information includes usage information indicating image usage at an image decoder side, the image usage being that of when a prefilter set including the first prefilter and the second prefilter is selected from a plurality of prefilter sets.

### Claim 11 (depends on 9)

The image encoder according to claim 9, wherein
the header includes a supplemental enhancement information (SEI) region, and
the circuitry stores the filter information in the SEI region.

### Claim 12

An image decoder comprising:
circuitry; and
a memory connected to the circuitry,
wherein the circuitry, in operation,
decodes a first prefilter or a first postfilter corresponding to the first prefilter, a second prefilter or a second postfilter corresponding to the second prefilter, a first parameter, and a second parameter from a bitstream, decodes a first region of a first image from the bitstream based on the first parameter, and decodes a second region of the first image from the bitstream based on the second parameter, and
generates a second image by applying a first postfilter corresponding to the first prefilter decoded from the bitstream or the first postfilter decoded from the bitstream to the first region of the first image, and applying a second postfilter corresponding to the second prefilter decoded from the bitstream or the second postfilter decoded from the bitstream to the second region of the first image, and outputs the second image.

### Claim 13 (depends on 12)

The image decoder according to claim 12, wherein the circuitry selects, from a plurality of postfilter sets including a postfilter set acquired from the bitstream, the postfilter set including the first postfilter and the second postfilter, based on usage information indicating image usage of the second image.

### Claim 14 (depends on 13)

The image decoder according to claim 13, wherein the image usage includes at least one machine task and human vision.

### Claim 15 (depends on 12)

The image decoder according to claim 12, wherein the first parameter and the second parameter each include at least one of a quantization parameter, a partitioning size, a prediction type, and a bounding box.

### Claim 16 (depends on 15)

The image decoder according to claim 15, wherein
the first parameter and the second parameter each includes the quantization parameter, and
the circuitry applies the first postfilter or the second postfilter based on a value of the quantization parameter or a parity of the quantization parameter.

### Claim 17 (depends on 15)

The image decoder according to claim 15, wherein
the first parameter and second parameter each include the partitioning size, and
the circuitry applies the first postfilter or the second postfilter based on a total number of pixels of the partitioning size, an aspect ratio of the partitioning size, or a number of horizontal pixels and a number of vertical pixels of the partitioning size.

### Claim 18 (depends on 15)

The image decoder according to claim 15, wherein
the first parameter and the second parameter each include the prediction type, and
the circuitry applies the first postfilter or the second postfilter based on whether the prediction type is an intra prediction or an inter prediction.

### Claim 19 (depends on 15)

The image decoder according to claim 15, wherein
the first parameter and the second parameter each include the bounding box, and
the circuitry applies the first postfilter or the second postfilter based on whether to be a region within the bounding box or a region outside the bounding box.

### Claim 20 (depends on 12)

The image decoder according to claim 12, wherein the circuitry extracts filter information from a header of the bitstream, the filter information relating to the first prefilter or the first postfilter and the second prefilter or the second postfilter.

### Claim 21 (depends on 20)

The image decoder according to claim 20, wherein the filter information includes usage information indicating image usage at the image decoder side, the image usage being that of when the filter information is generated in the image encoder.

### Claim 22 (depends on 20)

The image decoder according to claim 20, wherein
the header includes a supplemental enhancement information (SEI) region, and
the circuitry extracts the filter information from the SEI region.

### Claim 23

An image encoding method comprising:
by an image encoder,
determining a first region and a second region in an input image;
generating a first image from the input image by applying a first prefilter to the first region and applying a second prefilter to the second region;
determining a first parameter relating to the first region and a second parameter relating to the second region; and
generating a bitstream by encoding the first region based on the first parameter, encoding the second region based on the second parameter, encoding the first prefilter or a first postfilter corresponding to the first prefilter, and encoding the second prefilter or a second postfilter corresponding to the second prefilter.

### Claim 24

An image decoding method comprising:
by an image decoder,
decoding a first prefilter or a first postfilter corresponding to the first prefilter, a second prefilter or a second postfilter corresponding to the second prefilter, a first parameter, and a second parameter from a bitstream, decoding a first region of a first image from the bitstream based on the first parameter, and decoding a second region of the first image from the bitstream based on the second parameter;
generating a second image by applying a first postfilter corresponding to the first prefilter decoded from the bitstream or the first postfilter decoded from the bitstream to the first region of the first image, and applying a second postfilter corresponding to the second prefilter decoded from the bitstream or the second postfilter decoded from the bitstream to the second region of the first image; and
outputting the second image.
