# US 2026/0170694 A1 · Dynamic image compression method

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

- Number: US 2026/0170694 A1
- Document ID: US20260170694A1
- Status: Published application
- Kind: A1
- Application number: 18/984,626
- Filed: 2024-12-17
- Published: 2026-06-18
- Earliest claimed: 2024-09-27
- Assignees: Beken Corporation
- Applicants: Beken Corporation
- Inventors: Anan XIE; Xiang LIU; Guodong WANG; Long CHEN
- Web page: https://patentgrep.com/patent/US20260170694A1

## CPC

- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- G06T 3/40: Scaling of whole images or parts thereof, e.g. expanding or contracting
- G06T 7/10: Segmentation; Edge detection (motion-based segmentation G06T7/215)
- G06T 2207/20021: Dividing image into blocks, subimages or windows
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

The present disclosure provides a system and a method for image compression. The method includes obtaining an image frame and dividing it into a set of image blocks. A preliminary quantization profile is then obtained. Each image block undergoes a Discrete Cosine Transform (DCT) to create a frequency-dependent image profile, which is subsequently quantized using the preliminary quantization profile and compressed using at least one compression encoding algorithm. The size of the compressed image frame is compared with a target size range, and the preliminary quantization profile is updated based on the comparison result. Additionally, the method includes dynamically adjusting the target size range based on environmental or network conditions of the system, thereby enhancing real-time adaptability and efficiency in handling dynamic environment and complex scenes.

## Claims

### Claim 1

A method at a system for image compression, the method comprising:
obtaining a first image frame;
dividing the first image frame into a set of image blocks, each of the set of image blocks comprising a predetermined count of pixels;
obtaining a preliminary quantization profile, the preliminary quantization profile comprising a preliminary quantization factor corresponding to each of the predetermined count of pixels;
generating a first compressed image frame based on the set of image blocks of the first image frame and the preliminary quantization profile;
obtaining a target size range of the first image frame;
comparing a size of the first compressed image frame with the target size range of the first image frame;
updating the preliminary quantization profile based on the comparison between the size of compressed image frame with the target size range of the first image frame;
obtaining a second image frame; and
generating a second compressed image frame based on the second image frame and the updated preliminary quantization profile.

### Claim 2 (depends on 1)

The method of claim 1, wherein the generating of the first compressed image frame based on set of image blocks of the first image frame and the preliminary quantization profile comprises:
performing a Discrete Cosine Transform (DCT) on each of the set of image blocks to generate a frequency-dependent image profile;
dividing each value in the frequency-dependent image profile by a corresponding preliminary quantization factor to generate a quantized frequency profile; and
compressing the quantized frequency profile based on at least one compression encoding algorithm to generate the compressed image frame.

### Claim 3 (depends on 2)

The method of claim 2, wherein the at least one compression encoding algorithm includes at least one of a Zigzag encoding algorithm, a Huffman encoding algorithm, or a run-length encoding (RLE) algorithm.

### Claim 4 (depends on 1)

The method of claim 1, wherein the updating of the preliminary quantization profile based on the comparison between the size of the compressed image frame with the target size range of the first image frame comprises:
in response to a comparison result that the size of the compressed image frame is greater than an upper limit of the target size range, increasing the each preliminary quantization factor based on a preset step size; or
in response to a comparison result that the size of the compressed image frame is less than a lower limit of the target size range, decreasing the each preliminary quantization factor based on the preset step size.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
in response to the comparison result that the size of the compressed image frame is less than the lower limit of the target size range but increasing the each preliminary quantization factor would cause the size of an updated compressed image frame to be greater than the upper limit, reducing the step size; or
in response to the comparison result that the size of the compressed image frame is greater than the upper limit of the target size range but decreasing the each preliminary quantization factor would cause the size of the updated compressed image frame to be less than the lower limit, reducing the step size.

### Claim 6 (depends on 4)

The method of claim 4, further comprising:
determining that the size of the compressed image frame exceeds a preset multiplier of the upper limit or falls below a preset fraction of the lower limit; and
increasing the step size.

### Claim 7 (depends on 1)

The method of claim 1, wherein the updating of the preliminary quantization profile based on the comparison between the size of the compressed image frame with the target size range comprises:
in response to determining that the size of the compressed image frame is within the target size range, keeping the preliminary quantization profile unchanged.

### Claim 8 (depends on 1)

The method of claim 1, wherein the updating of the preliminary quantization profile based on the comparison between the size of the compressed image frame with the target size range comprises:
selecting a quantization profile from a plurality of predetermined quantization profiles.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
dynamically adjusting the target size range of the first image frame based on environmental conditions of the system.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
dynamically adjusting the target size range of the first image frame based on network condition of the system.

### Claim 11

A system comprising:
a processor; and
a non-transitory memory storing instructions that, when executed by the processor, configure the system to:
obtain a first image frame;
divide the first image frame into a set of image blocks, each of the set of image blocks comprising a predetermined count of pixels;
obtain a preliminary quantization profile, the preliminary quantization profile comprising a preliminary quantization factor corresponding to each of the predetermined count of pixels;
generate a first compressed image frame based on the set of image blocks of the first image frame and the preliminary quantization profile;
obtain a target size range of the first image frame;
compare a size of the first compressed image frame with the target size range of the first image frame;
update the preliminary quantization profile based on the comparison between the size of compressed image frame with the target size range of the first image frame;
obtain a second image frame; and
generate a second compressed image frame based on the second image frame and the updated preliminary quantization profile.

### Claim 12 (depends on 11)

The system of claim 11, wherein to generate the first compressed image frame, the instructions configure the system to:
perform a Discrete Cosine Transform (DCT) on each of the set of image blocks to generate a frequency-dependent image profile;
divide each value in the frequency-dependent image profile by a corresponding preliminary quantization factor to generate a quantized frequency profile; and
compress the quantized frequency profile based on at least one compression encoding algorithm to generate the compressed image frame.

### Claim 13 (depends on 11)

The system of claim 11, wherein to update the preliminary quantization profile, the instructions configure the system to:
in response to a comparison result that the size of the compressed image frame is greater than an upper limit of the target size range, increase the each preliminary quantization factor based on a preset step size; or
in response to a comparison result that the size of the compressed image frame is less than a lower limit of the target size range, decrease the each preliminary quantization factor based on the preset step size.

### Claim 14 (depends on 13)

The system of claim 13, wherein the instructions further configure the system to:
in response to the comparison result that the size of the compressed image frame is less than the lower limit of the target size range but increasing the each preliminary quantization factor would cause the size of an updated compressed image frame to be greater than the upper limit, reduce the step size; or
in response to the comparison result that the size of the compressed image frame is greater than the upper limit of the target size range but decreasing the each preliminary quantization factor would cause the size of the updated compressed image frame to be less than the lower limit, reduce the step size.

### Claim 15 (depends on 13)

The system of claim 13, wherein the instructions further configure the system to:
determine that the size of the compressed image frame exceeds a preset multiplier of the upper limit or falls below a preset fraction of the lower limit; and
increase the step size.

### Claim 16 (depends on 11)

The system of claim 11, wherein to update the preliminary quantization profile, the instructions configure the system to:
in response to determining that the size of the compressed image frame is within the target size range, keep the preliminary quantization profile unchanged.

### Claim 17 (depends on 11)

The system of claim 11, wherein to update the preliminary quantization profile, the instructions configure the system to:
select a quantization profile from a plurality of predetermined quantization profiles.

### Claim 18 (depends on 11)

The system of claim 11, wherein the instructions further configure the system to:
dynamically adjust the target size range of the first image frame based on environmental conditions of the system.

### Claim 19 (depends on 13)

The system of claim 13, wherein the instructions further configure the system to:
dynamically adjust the target size range of the first image frame based on network condition of the system.

### Claim 20

A non-transitory computer-readable storage medium, the computer-readable storage medium including instructions that when executed by a system, cause the system to:
obtain a first image frame;
divide the first image frame into a set of image blocks, each of the set of image blocks comprising a predetermined count of pixels;
obtain a preliminary quantization profile, the preliminary quantization profile comprising a preliminary quantization factor corresponding to each of the predetermined count of pixels;
generate a first compressed image frame based on the set of image blocks of the first image frame and the preliminary quantization profile;
obtain a target size range of the first image frame;
compare a size of the first compressed image frame with the target size range of the first image frame;
update the preliminary quantization profile based on the comparison between the size of compressed image frame with the target size range of the first image frame;
obtain a second image frame; and
generate a second compressed image frame based on the second image frame and the updated preliminary quantization profile.
