# US 2022/0286711 A1 · Frequency specific compression and compensation technique in image processing

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

- Number: US 2022/0286711 A1
- Document ID: US20220286711A1
- Status: Published application
- Kind: A1
- Application number: 17/752,747
- Filed: 2022-05-24
- Published: 2022-09-08
- Earliest claimed: 2020-10-20
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Zihao Liu; Sicheng Li; Minghai Qin; Yen-kuang Chen
- Web page: https://patentgrep.com/patent/US20220286711A1

## CPC

- G06T 1/0007: {Image acquisition}
- H04N 19/85: using pre-processing or post-processing specially adapted for video compression
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 5/50: using two or more images, e.g. averaging or subtraction
- H04N 19/124: Quantisation
- H04N 19/60: using transform coding
- H04N 19/625: using discrete cosine transform [DCT]
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure relates to a method for compensating an image. The method comprises estimating transform coefficients of a frequency component for a first image based on the first image, performing a dot multiplication operation between the estimated transform coefficients and a basis function associated with the frequency component to generate a compensation image, and combining the first image and the compensation image to generate a combined image.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method for compressing an image, comprising:
estimating a distribution of a first transform coefficient of an image;
determining a first quantization parameter based on the estimated distribution of the first transform coefficient;
performing quantization of the first transform coefficient according to the first quantization parameter; and
encoding the image using the quantized first transform coefficient.

### Claim 22 (depends on 21)

The method of claim 21, wherein determining the first quantization parameter based on the estimated distribution of the first transform coefficient comprises:
determining a standard deviation value of the distribution;
comparing the standard deviation value with a default quantization parameter corresponding to the first transform coefficient; and
determining the first quantization parameter based on a result of the comparing.

### Claim 23 (depends on 22)

The method of claim 22, wherein determining the first quantization parameter based on the result of the comparing comprises:
in response to the standard deviation value being greater than the default quantization parameter, determining the standard deviation value to be the first quantization parameter.

### Claim 24 (depends on 24)

The method of claim 24, wherein determining the first quantization parameter based on the result of the comparing comprises:
in response to the standard deviation value being equal to or less than the default quantization parameter, determining the default quantization parameter to be the first quantization parameter.

### Claim 25 (depends on 21)

The method of claim 21, wherein the first transform coefficient is a coefficient associated with a basis function corresponding to a frequency component.

### Claim 26 (depends on 21)

The method of claim 21, further comprising:
reconstructing the encoded image;
estimating transform coefficients of a frequency component for the reconstructed image based on the reconstructed image; and
generating a compensation image for the frequency component based on the estimated transform coefficients and a basis function associated with the frequency component.

### Claim 27 (depends on 26)

The method of claim 26, wherein generating the compensation image for the frequency component based on the estimated transform coefficients and the basis function associated with the frequency component comprises:
generating the compensation image for the frequency component by performing a dot multiplication operation between the estimated transform coefficients and the basis function associated with the frequency component.

### Claim 28 (depends on 26)

The method of claim 26, wherein the first quantization parameter is associated with the basis function associated with the frequency component, and
wherein determining the first quantization parameter based on the estimated distribution of the first transform coefficient comprises determining the first quantization parameter to remove the frequency component when encoding the image.

### Claim 29

An apparatus for compressing an image, comprising:
a memory for storing a set of instructions; and
at least one processor configured to execute the set of instructions to cause the apparatus to perform:
estimating a distribution of a first transform coefficient of an image;
determining a first quantization parameter based on the estimated distribution of the first transform coefficient;
performing quantization of the first transform coefficient according to the first quantization parameter; and
encoding the image using the quantized first transform coefficient.

### Claim 30 (depends on 29)

The apparatus of claim 29, wherein in determining the first quantization parameter based on the estimated distribution of the first transform coefficient, the at least one processor is configured to execute the set of instructions to cause the apparatus to further perform:
determining a standard deviation value of the distribution;
comparing the standard deviation value with a default quantization parameter corresponding to the first transform coefficient; and
determining the first quantization parameter based on a result of the comparing.

### Claim 31 (depends on 30)

The apparatus of claim 30, wherein in determining the first quantization parameter based on the result of the comparing, the at least one processor is configured to execute the set of instructions to cause the apparatus to further perform:
in response to the standard deviation value being greater than the default quantization parameter, determining the standard deviation value to be the first quantization parameter.

### Claim 32 (depends on 30)

The apparatus of claim 30, wherein in determining the first quantization parameter based on the result of the comparing, the at least one processor is configured to execute the set of instructions to cause the apparatus to further perform:
in response to the standard deviation value being equal to or less than the default quantization parameter, determining the default quantization parameter to be the first quantization parameter.

### Claim 33 (depends on 29)

The apparatus of claim 29, wherein the first transform coefficient is a coefficient associated with a basis function corresponding to a frequency component.

### Claim 34 (depends on 29)

The apparatus of claim 29, wherein the at least one processor is configured to execute the set of instructions to cause the apparatus to further perform:
reconstructing the encoded image;
estimating transform coefficients of a frequency component for the reconstructed image based on the reconstructed image; and
generating a compensation image for the frequency component based on the estimated transform coefficients and a basis function associated with the frequency component.

### Claim 35

A non-transitory computer readable medium that stores a set of instructions that is executable by at least one processor of a computing device to perform a method for compressing an image, the method comprising:
estimating a distribution of a first transform coefficient of an image;
determining a first quantization parameter based on the estimated distribution of the first transform coefficient;
performing quantization of the first transform coefficient according to the first quantization parameter; and
encoding the image using the quantized first transform coefficient.

### Claim 36 (depends on 35)

The computer readable medium of claim 35, wherein in determining the first quantization parameter based on the estimated distribution of the first transform coefficient, the set of instructions that are executable by at least one processor of the computing device to cause the computing device to further perform:
determining a standard deviation value of the distribution;
comparing the standard deviation value with a default quantization parameter corresponding to the first transform coefficient; and
determining the first quantization parameter based on a result of the comparing.

### Claim 37 (depends on 36)

The computer readable medium of claim 36, wherein in determining the first quantization parameter based on the result of the comparing, the set of instructions that are executable by at least one processor of the computing device to cause the computing device to further perform:
in response to the standard deviation value being greater than the default quantization parameter, determining the standard deviation value to be the first quantization parameter.

### Claim 38 (depends on 36)

The computer readable medium of claim 36, wherein in determining the first quantization parameter based on the result of the comparing, the set of instructions that are executable by at least one processor of the computing device to cause the computing device to further perform:
in response to the standard deviation value being equal to or less than the default quantization parameter, determining the default quantization parameter to be the first quantization parameter.

### Claim 39 (depends on 35)

The computer readable medium of claim 35, wherein the first transform coefficient is a coefficient associated with a basis function corresponding to a frequency component.

### Claim 40 (depends on 35)

The computer readable medium of claim 35, wherein the set of instructions that are executable by at least one processor of the computing device to cause the computing device to further perform:
reconstructing the encoded image;
estimating transform coefficients of a frequency component for the reconstructed image based on the reconstructed image; and
generating a compensation image for the frequency component based on the estimated transform coefficients and a basis function associated with the frequency component.
