# US 2025/0148654 A1 · System and method for learned image compression with pre-processing

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

- Number: US 2025/0148654 A1
- Document ID: US20250148654A1
- Status: Published application
- Kind: A1
- Application number: 19/012,075
- Filed: 2025-01-07
- Published: 2025-05-08
- Earliest claimed: 2022-07-07
- Assignees: Douyin Vision (Beijing) Co., Ltd.; Bytedance Inc.
- Applicants: Douyin Vision (Beijing) Co., Ltd.; Bytedance Inc.
- Inventors: Meng Wang; Kai Zhang; Li Zhang
- Web page: https://patentgrep.com/patent/US20250148654A1

## CPC

- G06T 9/002: {using neural networks}
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for processing video data is disclosed. The method includes: performing a conversion between visual media data and a bitstream of the visual media data by an image compression framework, wherein the image compression framework includes a preprocessing function and a compressor, and the visual media data is processed by the preprocessing function and the compressor sequentially, and wherein the preprocessing function receives a first image among the visual media data with a size of W0×H0×C0 as input and outputs a preprocessed first image with a size of W1×H1×C1, wherein W0 is an input width, H0 is an input height, and C0 is an input channel number, and wherein W1 is an output width, H1 is an output height, and C1 is an output channel number.

## Claims

### Claim 1

A method for processing video data, comprising:
performing a conversion between visual media data and a bitstream of the visual media data by an image compression framework,
wherein the image compression framework comprises a preprocessing function and a compressor, and the visual media data is processed by the preprocessing function and the compressor sequentially, and
wherein the preprocessing function receives a first image among the visual media data with a size of W0×H0×C0 as input and outputs a preprocessed first image with a size of W1×H1×C1, wherein W0 is an input width, H0 is an input height, and C0 is an input channel number, and wherein W1 is an output width, H1 is an output height, and C1 is an output channel number.

### Claim 2 (depends on 1)

The method of claim 1, wherein W0 is equal to W1, H0 is equal to H1, and C0 is equal to C1.

### Claim 3 (depends on 1)

The method of claim 1, wherein W0 is equal to W1, H0 is equal to H1, and C0 is not equal to C1.

### Claim 4 (depends on 1)

The method of claim 1, wherein the preprocessed first image output by the preprocessing function comprises features with different spatial dimensions.

### Claim 5 (depends on 1)

The method of claim 1, wherein the preprocessing function includes a deep neural network that employs parameters determined through deep learning, and
wherein the preprocessing function includes convolutional layers that employ a kernel size of 3×3, 5×5, or 7×7, and the convolutional layers include dilated convolution with a dilated parameter set to three, five, or seven.

### Claim 6 (depends on 1)

The method of claim 1, wherein the preprocessing function includes residual blocks, wherein the residual blocks comprise at least one of the group consisting of a convolutional layer, an activation layer, and a batch normalization layer.

### Claim 7 (depends on 1)

The method of claim 1, wherein the preprocessing function includes a swin-transformer, wherein a head number of the swin-transformer is two or six, and wherein a depth of the swin-transformer is set to two or six.

### Claim 8 (depends on 1)

The method of claim 1, wherein the preprocessing function is jointly optimized with the compressor.

### Claim 9 (depends on 8)

The method of claim 8, wherein the compressor comprises a learning based variational auto-encoder, and wherein the preprocessing function and the variational auto-encoder are jointly trained from scratch.

### Claim 10 (depends on 8)

The method of claim 8, wherein the compressor comprises a learning based variational auto-encoder, wherein the learning based variational auto-encoder is partially trained prior to training the pre-processing function, and wherein the learning based variational auto-encoder after being partially trained and the preprocessing function are jointly trained.

### Claim 11 (depends on 8)

The method of claim 8, wherein the compressor comprises a proxy auto encoder with fixed model parameters for assisting training of the preprocessing function, and wherein the proxy auto encoder includes a prediction function, a transformation function, an inverse transformation function, a quantization function, and a rate estimation function.

### Claim 12 (depends on 1)

The method of claim 1, wherein the preprocessing function includes multiple models directed to different coding bit rates.

### Claim 13 (depends on 1)

The method of claim 1, wherein the preprocessing function is configured to adapt to different coding bit rates based on a quantization parameter, a coding controlling parameter, or a combination thereof.

### Claim 14 (depends on 11)

The method of claim 11, wherein the transformation function comprises at least one of the group consisting of a discrete cosine transform (DCT), a discrete sine transform (DST), and a wavelet-domain transform,
wherein the quantization function comprises a k-order polynomial approximation process, and
wherein the rate estimation function employs L1-norm, L2-norm, L0-norm of coefficients of the transformation function.

### Claim 15 (depends on 11)

The method of claim 11, wherein the proxy auto encoder is a restoration neural network for assisting the training the preprocessing function, and wherein the preprocessing function is trained based on minimizing a distance between an input image of the proxy auto encoder and an output image of the proxy auto encoder.

### Claim 16 (depends on 1)

The method of claim 1, wherein the compressor comprises a hybrid codec that further includes a codec and a learning-based function, and wherein the learning-based function includes at least one of the group consisting of a learning-based in-loop filter, learning-based intra prediction, learning-based inter prediction, and learning-based quantization.

### Claim 17 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the visual media data into the bitstream.

### Claim 18 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the visual media data from the bitstream.

### Claim 19

An apparatus for processing visual media data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
perform a conversion between visual media data and a bitstream of the visual media data by an image compression framework,
wherein the image compression framework comprises a preprocessing function and a compressor, and the visual media data is processed by the preprocessing function and the compressor sequentially, and
wherein the preprocessing function receives a first image among the visual media data with a size of W0×H0×C0 as input and outputs a preprocessed first image with a size of W1×H1×C1, wherein W0 is an input width, H0 is an input height, and C0 is an input channel number, and wherein W1 is an output width, H1 is an output height, and C1 is an output channel number.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream of visual media data which is generated by a method performed by a video processing apparatus, wherein the method comprises:
generating the bitstream of the visual media data by an image compression framework,
wherein the image compression framework comprises a preprocessing function and a compressor, and the visual media data is processed by the preprocessing function and the compressor sequentially, and
wherein the preprocessing function receives a first image among the visual media data with a size of W0×H0×C0 as input and outputs a preprocessed first image with a size of W1×H1×C1, wherein W0 is an input width, H0 is an input height, and C0 is an input channel number, and wherein W1 is an output width, H1 is an output height, and C1 is an output channel number.
