# US 2025/0386015 A1 · Network based image filtering for video coding

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

- Number: US 2025/0386015 A1
- Document ID: US20250386015A1
- Status: Published application
- Kind: A1
- Application number: 18/404,816
- Filed: 2024-01-04
- Published: 2025-12-18
- Earliest claimed: 2021-07-05
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Wei CHEN; Xiaoyu XIU; Yi-Wen CHEN; Hong-Jheng JHU; Che-Wei KUO; Xianglin WANG; Bing YU
- Web page: https://patentgrep.com/patent/US20250386015A1

## CPC

- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/08: Learning methods
- H04N 19/124: Quantisation
- H04N 19/172: the region being a picture, frame or field
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/436: using parallelised computational arrangements
- 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
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/084: Backpropagation, e.g. using gradient descent
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method and an apparatus for image filtering in video coding using a neural network are provided. The method includes: loading, a plurality of quantization parameter (QP) map (QpMap) values at a plurality of QpMap channels into the neural network; obtaining a QP scaling factor by adjusting a plurality of input QP values related to an input frame; and adjusting, according to a QP scaling factor, the plurality of QpMap values for the neural network to learn and filter the input frame to the neural network.

## Claims

### Claim 1

A method for image filtering in video coding, comprising:
loading a plurality of quantization parameter (QP) map (QpMap) values at one or more QpMap channels into a neural network;
obtaining a QP scaling factor by adjusting a plurality of input QP values related to an input frame; and
adjusting, according to the QP scaling factor, the plurality of QpMap values for the neural network to learn and filter the input frame to the neural network.

### Claim 2 (depends on 1)

The method of claim 1, wherein adjusting the plurality of input QP values related to the input frame comprises:
obtaining a QP offset based on a QP offset step size, a lower bound, and an offset index, wherein the QP offset step size is a step size for adjusting each of the plurality of input QP values, the lower bound is an integer value determining a maximum QP value reduction, and the offset index is a signaled index value; and
subtracting the QP offset from a QP input value.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
signaling, by an encoder, the QP offset step size, the low bound, and the offset index, wherein the offset index is an integer between 0 and 3.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
predefining, by an encoder, the QP offset step size and the low bound; and
signaling, by the encoder, the offset index, wherein the offset index is an integer between 0 and 3.

### Claim 5 (depends on 1)

The method of claim 1, wherein obtaining the QP scaling factor comprises obtaining a QP offset; and
adjusting the plurality of QpMap values comprises subtracting the QP offset from a QP input value.

### Claim 6 (depends on 1)

The method of claim 1, wherein obtaining the QP scaling factor comprises:
obtaining a QP offset; and
obtaining the QP scaling factor using a following operation:
α
C
⁢
H
=
2
(
-
Q
⁢
P
offset
)
/
6
wherein αCH indicates the QP scaling factor, and QPoffset indicates the QP offset.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
determining the QP offset per input video block.

### Claim 8 (depends on 6)

The method of claim 6, further comprising:
signaling, by an encoder, the QP offset at a frame level.

### Claim 9 (depends on 5)

The method of claim 5, further comprising:
predefining, by an encoder, a look up table (LUT), wherein the LUT comprises a plurality of code words and a plurality of QP offsets corresponding to the plurality of code words; and
signaling, by the encoder, a code word so that a decoder retrieves the QP offset corresponding to the code word based on the LUT.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
predefining, by an encoder, a plurality of look up tables (LUTs) at different granularities; and
signaling, by the encoder, the code word so that the decoder retrieves the QP offset corresponding to the code word based on the plurality of LUTs at different granularities.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
predefining, by an encoder, a plurality of look up tables (LUTs) at different granularities; and
signaling, by the encoder, the code word and a LUT step size difference so that the decoder retrieves the QP offset corresponding to the code word based on the code word and the LUT step size difference, wherein the LUT step size difference is a difference between a first step size and a second step size, the first step size is a difference between two adjacent QP offsets in a first LUT, and the second step size is a difference between two adjacent QP offsets in a second LUT.

### Claim 12

An apparatus for image filtering in video coding using a neural network, comprising:
one or more processors; and
a memory coupled to the one or more processors and configured to store instructions executable by the one or more processors and a bitstream,
wherein the one or more processors, upon execution of the instructions, are configured to perform operations to generate the bitstream, the operations comprising:
loading a plurality of quantization parameter (QP) map (QpMap) values at one or more QpMap channels into a neural network;
obtaining a QP scaling factor by adjusting a plurality of input QP values related to an input frame; and
adjusting, according to the QP scaling factor, the plurality of QpMap values for the neural network to learn and filter the input frame to the neural network.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein adjusting the plurality of input QP values related to the input frame comprises:
obtaining a QP offset based on a QP offset step size, a lower bound, and an offset index, wherein the QP offset step size is a step size for adjusting each of the plurality of input QP values, the lower bound is an integer value determining a maximum QP value reduction, and the offset index is a signaled index value; and
subtracting the QP offset from a QP input value.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the operations further comprise:
signaling, by an encoder, the QP offset step size, the low bound, and the offset index, wherein the offset index is an integer between 0 and 3.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein the operations further comprise:
predefining, by an encoder, the QP offset step size and the low bound; and
signaling, by the encoder, the offset index, wherein the offset index is an integer between 0 and 3.

### Claim 16 (depends on 12)

The apparatus of claim 12, wherein obtaining the QP scaling factor comprises obtaining a QP offset; and
adjusting the plurality of QpMap values comprises subtracting the QP offset from a QP input value.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein obtaining the QP scaling factor comprises:
obtaining a QP offset; and
obtaining the QP scaling factor using a following operation:
α
C
⁢
H
=
2
(
-
Q
⁢
P
offset
)
/
6
wherein αCH indicates the QP scaling factor, and QPoffset indicates the QP offset.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the operations further comprise:
determining the QP offset per input video block.

### Claim 19 (depends on 17)

The apparatus of claim 17, further comprising:
signaling, by an encoder, the QP offset at a frame level.

### Claim 20

A non-transitory computer-readable storage medium storing computer-executable instructions and a bitstream, wherein the computer-executable instructions, when executed by one or more computer processors, cause the one or more computer processors to store the bitstream and to perform operations to generate the bitstream, the operations comprising:
loading a plurality of quantization parameter (QP) map (QpMap) values at one or more QpMap channels into a neural network;
obtaining a QP scaling factor by adjusting a plurality of input QP values related to an input frame; and
adjusting, according to the QP scaling factor, the plurality of QpMap values for the neural network to learn and filter the input frame to the neural network.
