Method, device, system, electronic device, and storage medium for image processing
Abstract
This application discloses an image processing method, device, system, electronic equipment, and storage medium, applied at the encoding end. The method includes extracting a one-dimensional feature vector from an original image block; transforming the original image block into a multidimensional feature map based on the one-dimensional feature vector; quantizing and encoding the one-dimensional feature vector to generate a first code stream; discretely encoding the multidimensional feature map to generate a second code stream, thereby efficiently compressing the spatial-independent vector and the multidimensional feature map; and sending the first and second code streams to the decoding end. Since the encoding stream comprises two layers each representing different types of image information, image reconstruction from the two-layer code streams maintains information integrity even at low bit rates, thus improving visual effects and experience.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (16 — 3 Independent, 13 Dependent)
- Claim 1Independent Claim
An image processing method, characterized in that, applied at an encoding end, the method comprises: extracting a one-dimensional feature vector from an original image block; transforming the original image block into a multi-dimensional feature map based on the one-dimensional feature vector; quantizing and encoding the one-dimensional feature vector to generate a first code stream; discretely encoding the multi-dimensional feature map to generate a second code stream; sending the first code stream and the second code stream to a decoding end; wherein the step of transforming the original image block into a multi-dimensional feature map based on the one-dimensional feature vector includes: iteratively adding noise to the original image block multiple times using the one-dimensional feature vector through a preset diffusion model, thereby obtaining the multi-dimensional feature map.
- Claim 2Depends on #1
The method according to claim 1, wherein the diffusion model comprises a first noise prediction network and a noise addition layer; the step of iteratively adding noise to the original image block multiple times using the one-dimensional feature vector through the preset diffusion model includes: for each noise addition process, predicting the current noise using the first noise prediction network based on the previous noise addition result and the one-dimensional feature vector; adding the noise predicted by the first noise prediction network to the result from the previous iteration using the noise addition layer; wherein, for the first noise addition process, the previous noise addition result is the original image block.
- Claim 3Depends on #2
The method according to claim 2, wherein the step of adding the noise predicted by the first noise prediction network to the result from the previous iteration using the noise addition layer includes: acquiring the noise level coefficient previously used and the current noise level coefficient; obtaining the current noise addition result based on the previously used noise level coefficient, the current noise level coefficient, the noise output by the first noise prediction network, and the previous noise addition result.
- Claim 4Depends on #1
The method according to claim 1, wherein the step of quantizing and encoding the one-dimensional feature vector to generate a first code stream includes: quantizing and encoding the one-dimensional feature vector through a preset quantization encoding model to obtain the first code stream.
- Claim 5Depends on #4
The method according to claim 4, wherein the quantization encoding model comprises a feature encoding network, a quantization layer, and an entropy estimation network; the step of quantizing and encoding the one-dimensional feature vector through the preset quantization encoding model to obtain the first code stream includes: down-sampling the one-dimensional feature vector via the feature encoding network to obtain down-sampled features; converting feature values of the down-sampled features to integer values through the quantization layer to obtain quantized features; encoding the quantized features into the first code stream using the entropy estimation network.
- Claim 6Depends on #1
The method according to claim 1, wherein the step of discretely encoding the multi-dimensional feature map to generate a second code stream includes: discretely encoding the multi-dimensional feature map through a preset discrete encoding model to obtain the second code stream.
- Claim 7Depends on #6
The method according to claim 6, wherein the discrete encoding model comprises a feature encoding network, a discrete representation layer, and a code stream conversion layer; the step of discretely encoding the multi-dimensional feature map through the preset discrete encoding model to obtain the second code stream includes: down-sampling the multi-dimensional feature map via the feature encoding network to obtain down-sampled features; performing discrete representation on the down-sampled features using the discrete representation layer to obtain an index matrix; converting the index matrix into the second code stream via the code stream conversion layer.
- Claim 8Depends on #7
The method according to claim 7, wherein the step of performing discrete representation on the down-sampled features through the discrete representation layer to obtain an index matrix includes: matching each dimensional feature vector of the down-sampled features with the most similar vector in a preset feature dictionary; obtaining the index matrix using the indices of vectors matched with each dimensional feature vector.
- Claim 9Depends on #1
An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that the processor executes the program to implement the method according to claim 1.
- Claim 10Depends on #1
A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the method according to claim 1.
- Claim 11Independent Claim
An image processing method, characterized in that, applied at a decoding end, the method comprises: receiving a first code stream and a second code stream from an encoding end; inverse-quantizing and decoding the first code stream to obtain a one-dimensional feature vector; inverse-discretely decoding the second code stream to obtain a multi-dimensional feature map; reconstructing the image based on the one-dimensional feature vector and the multi-dimensional feature map to obtain a reconstructed image block; wherein the step of reconstructing the image based on the one-dimensional feature vector and the multi-dimensional feature map includes iteratively denoising the multi-dimensional feature map multiple times using the one-dimensional feature vector through a preset diffusion model, thereby obtaining the reconstructed image block.
- Claim 12Depends on #11
The method according to claim 11, wherein the step of inverse-quantizing and decoding the first code stream includes: inverse-quantizing and decoding the first code stream through a preset inverse quantization decoding model to obtain the one-dimensional feature vector; the inverse quantization decoding model comprises an entropy decoding network, an inverse quantization layer, and a feature decoding network; the decoding step includes decoding the first code stream into quantized features using the entropy decoding network; converting the quantized features to floating-point values via the inverse quantization layer to obtain inverse quantized features; up-sampling the inverse quantized features through the feature decoding network to obtain the one-dimensional feature vector.
- Claim 13Depends on #11
The method according to claim 11, wherein the step of inverse-discretely decoding the second code stream includes: inverse-discretely decoding the second code stream through a preset discrete decoding model to obtain the multi-dimensional feature map; the discrete decoding model comprises a code stream decoding layer, an inverse discrete representation layer, and a feature decoding network; the decoding step includes decoding the second code stream into an index matrix via the code stream decoding layer; converting the index matrix to continuous features through the inverse discrete representation layer using a preset feature dictionary; up-sampling the continuous features via the feature decoding network to obtain the multi-dimensional feature map.
- Claim 14Depends on #11
The method according to claim 11, wherein the diffusion model comprises a second noise prediction network and a denoising layer; the iterative denoising step includes predicting the current noise using the second noise prediction network based on the previous denoising result and the one-dimensional feature vector for each denoising process; denoising the previous denoising result using the noise output by the second noise prediction network via the denoising layer; wherein for the first denoising process, the previous denoising result is the multi-dimensional feature map.
- Claim 15Depends on #14
The method according to claim 14, wherein the denoising step via the denoising layer includes: acquiring the previously used noise level coefficient and the current noise level coefficient; obtaining the current denoising result based on the previously used noise level coefficient, the current noise level coefficient, the noise output by the second noise prediction network, and the previous denoising result.
- Claim 16Independent Claim
An image processing system, characterized in that the system comprises: an encoding end, configured to execute an encoding image processing method, the encoding image processing method comprises: extracting a one-dimensional feature vector from an original image block; transforming the original image block into a multi-dimensional feature map based on the one-dimensional feature vector; quantizing and encoding the one-dimensional feature vector to generate a first code stream; discretely encoding the multi-dimensional feature map to generate a second code stream; sending the first code stream and the second code stream to a decoding end; wherein the step of transforming the original image block into a multi-dimensional feature map based on the one-dimensional feature vector includes: iteratively adding noise to the original image block multiple times using the one-dimensional feature vector through a preset diffusion model, thereby obtaining the multi-dimensional feature map and; a decoding end, configured to execute a decoding image processing method, the decoding image processing method comprises: receiving a first code stream and a second code stream from the encoding end; inverse-quantizing and decoding the first code stream to obtain a one-dimensional feature vector; inverse-discretely decoding the second code stream to obtain a multi-dimensional feature map; reconstructing the image based on the one-dimensional feature vector and the multi-dimensional feature map to obtain a reconstructed image block; wherein the step of reconstructing the image based on the one-dimensional feature vector and the multi-dimensional feature map includes iteratively denoising the multi-dimensional feature map multiple times using the one-dimensional feature vector through a preset diffusion model, thereby obtaining the reconstructed image block.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a bypass continuation application of International Patent Application Publication No. PCT/CN2024/136446, filed on Dec. 3, 2024, which claims priority to Chinese Patent Application Publication No. CN117459727 B, filed on Dec. 22, 2023, both of which are incorporated herein by reference. TECHNICAL FIELD The present application relates to the technical field of image processing, and more specifically, to an image processing method, device, electronic equipment, and storage medium. BACKGROUND With the development of artificial intelligence, traditional image coding standards (such as JPEG (Joint Photographic Experts Group), MPEG (Moving Picture Experts Group), AVS (Audio Video coding Standard), BPG (Better Portable Graphics), etc.) are optimized at the pixel level for human vision and do not adequately support various machine vision requirements. Researchers have attempted to incorporate neural networks into image coding to achieve more intelligent and efficient image compression. Therefore, neural network-based image coding using deep learning has become a key area of research. However, whether using traditional image coding standards or neural network encoding technology, the encoding bitstream is generally composed of a single code stream. This leads to significant information loss at low bitrates, resulting in poor image reconstruction quality and visual experience. SUMMARY The purpose of the present application is to overcome the deficiencies of the above-mentioned prior art by providing an image processing method, device, electronic equipment, and storage medium. This purpose is achieved through the following technical solutions. A first aspect of the present application provides an image processing method, applied at the encoding end, the method includes: Extracting a one-dimensional feature vector from an original image block; Transforming the original image block into a multi-dimensional feature map ba
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (11)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,299,939 B2 | Generating novel images using sketch image representations | 2025 | 1 |
| JP 2023044979 A | Rotary electric machine | — | 0 |
Non-Patent Literature (1)
- International Search Report and Written Opinion issued in Application No. PCT/CN2024/136446 mailed on Mar. 18, 2024 (7 pages).