A Color Image Compression Method

A color image and compression method technology, applied in image communication, digital video signal modification, electrical components, etc., can solve the problems of RGB image color distortion, high encoding bit rate, and affecting RGB image compression efficiency

Active Publication Date: 2020-06-12
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. Although the color image compression method based on the YCbCr 4:2:0 format has a high compression rate, the compressed RGB image often has color distortion, especially when it is necessary to output an image with high color fidelity. Distortion often results in a noticeable degradation of compressed image quality;
[0008] 2. The color image compression method based on the YCbCr4:4:4 format has high color fidelity, but the coding rate is high, and the storage space and transmission cost are relatively large; in addition, even if the coding optimization of the YCbCr image is realized , and cannot guarantee the best quality of the compressed RGB image, the reason is that there are two errors in the encoding process: one is the rounding error, which occurs in the conversion process of the RGB image signal and the YCbCr image signal; the other is the quantization The error occurs in the encoding process of the YCbCr image. It is precisely because of the existence of these two errors that the compression efficiency of the RGB image is affected.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Color Image Compression Method
  • A Color Image Compression Method
  • A Color Image Compression Method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Such as figure 1 , a color image compression method, comprising the following steps:

[0048] Step 1, convert the captured RGB color image into a YCbCr image using the image color space conversion method, and then perform two-dimensional discrete cosine transform on the image blocks of the luminance Y component, chrominance Cb component, and Cr component in the YCbCr image to obtain The transformation coefficient matrix of Y component, Cb component and Cr component;

[0049] Step 2, convert the transformation coefficient matrices of Y component, Cb component and Cr component into column vectors in the vertical direction, and record them as X (Y) 、X (Cb) and x (Cr) , and for X (Y) 、X (Cb) and x (Cr) perform quantitative processing;

[0050] Step 3, according to the scanning order of the transform coefficients in the image coding method with Sorting, and then encoding the quantized transform coefficients by entropy encoding to obtain a compressed encoded code s...

Embodiment 2

[0054] Such as figure 1 , a color image compression method, comprising the following steps:

[0055] Step 1, convert the captured RGB color image into a YCbCr image using the image color space conversion method, and then perform two-dimensional discrete cosine transform on the image blocks of the luminance Y component, chrominance Cb component, and Cr component in the YCbCr image to obtain The transformation coefficient matrix of Y component, Cb component and Cr component;

[0056] Step 2, convert the transformation coefficient matrices of Y component, Cb component and Cr component into column vectors in the vertical direction, and record them as X (Y) 、X (Cb) and x (Cr) , and for X (Y) 、X (Cb) and x (Cr) perform quantitative processing;

[0057] to x (Y) The method of quantization is as follows:

[0058] x (Cr) processing, for X (Cr) The coefficients in are quantized one by one, and the X (Cr) The kth coefficient of The quantification result of here, Q() rep...

Embodiment 3

[0071] Such as figure 1 , a color image compression method, comprising the following steps:

[0072] Step 1, convert the captured RGB color image into a YCbCr image using the image color space conversion method, and then perform two-dimensional discrete cosine transform on the image blocks of the luminance Y component, chrominance Cb component, and Cr component in the YCbCr image to obtain The transformation coefficient matrix of Y component, Cb component and Cr component;

[0073] Step 2, convert the transformation coefficient matrices of Y component, Cb component and Cr component into column vectors in the vertical direction, and record them as X (Y) 、X (Cb) and x (Cr) , and for X (Y) 、X (Cb) and x (Cr) perform quantitative processing;

[0074] to x(Y) The method of quantization is as follows:

[0075] x (Cr) processing, for X (Cr) The coefficients in are quantized one by one, and the X (Cr) The kth coefficient of The quantification result of here, Q() repre...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a color image compression method, which relates to the technical field of image compression. The RGB color image is converted into a YCbCr4:4:4 format image by using an image color space conversion method, and then the luminance Y component and chromaticity in the YCbCr image are The Cb component and Cr component are changed, quantized, sorted, encoded, etc., and finally the compressed RGB color image is synthesized. Under the premise of effectively controlling the encoding bit rate, the brightness Y component and the chrominance Cb component and Cr component are separated. Processing to adjust the quantization error of the YCbCr image to effectively reduce the coding distortion of the RGB image and ensure the best quality of the compressed RGB image. At the same time, the coding rate of the component vectorization processing is not high, and the storage space and transmission cost are also low.

Description

technical field [0001] The invention belongs to the technical field of image compression, and in particular relates to a color image compression method. Background technique [0002] The traditional color image compression method usually converts the original RGB image signal into a YCbCr image signal, and then encodes and compresses it. [0003] In the prior art, for example, the Chinese invention patent document with the publication number CN102724381A, published on October 10, 2012, and titled "Receipt Image Compression Method Based on JPEG Compression Principle", discloses an image compression method. Existing methods cannot greatly improve the compression ratio on the basis of quality assurance. The present invention includes a bill image preprocessing step and a bill image JPEG compression step, and finds a method based on the variance and mean value of image blocks through image rearrangement. The preprocessing method of the image block; and the optimized quantizatio...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04N19/122H04N19/124H04N19/154H04N19/186H04N19/625H04N1/60
Inventor 朱树元崔唱朱旭
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products