Image compression/decoding apparatus and method
First Claim
1. An image compression apparatus comprising:
- a wavelet transformer which receives digital image data, wavelet-transforms the digital image data in at least one step, and divides the digital image data into a first wavelet region having the lowest frequency and a second wavelet region having the other frequency, to thereby output image data of the first wavelet region and image data of the second wavelet region;
a quantizer which receives both the image data of the first and second wavelet regions and respectively quantizes the image data of the first and second wavelet regions to thereby output first quantization data formed of first quantization coefficients and second quantization data formed of second quantization coefficients, respectively;
a comparator which receives the first quantization data and compares the first quantization coefficients of the first quantization data, to thereby output the maximum quantization coefficient having the maximum quantization coefficient value and the minimum quantization coefficient having the minimum quantization coefficient value, among the first quantization coefficients;
a subtracter which receives the maximum quantization coefficient and the minimum quantization coefficient output from the comparator and subtracts the latter from the former, to thereby output a subtraction constant;
a low data compressor which receives the first quantization data and the subtraction constant and subtracts the subtraction constant from the first quantization coefficients of the first quantization data, to thereby output low compression data obtained by compressing the first quantization data; and
a high data compressor which sequentially receives the second quantization coefficients of the second quantization data and sequentially generates first compression data obtained by coding the number of zero quantization coefficients each having at least one successive zero value among the second quantization coefficients, and second compression data obtained by coding the second quantization coefficients other than the zero quantization coefficients according to a coding rule with reference to the coding rule where compression codes are established according to a respective quantization coefficient, to thereby output high compression data.
1 Assignment
0 Petitions
Accused Products
Abstract
An image compression apparatus is provided, which includes a wavelet transformer, a quantizer, a comparator, a subtracter, a low data compressor and a high data compressor. The comparator compares the first quantization coefficients of the first quantization data, to output the maximum quantization coefficient. The subtracter subtracts the minimum quantization coefficient from the maximum quantization coefficient, to output a subtraction constant. The low data compressor subtracts the subtraction constant from the first quantization coefficients, to output low compression data obtained by compressing the first quantization data. The high data compressor sequentially generates first compression data obtained by coding the number of zero quantization coefficients each having at least one successive zero value among the second quantization coefficients, and second compression data obtained by coding the second quantization coefficients other than the zero quantization coefficients according to a coding rule, to output high compression data.
7 Citations
18 Claims
-
1. An image compression apparatus comprising:
-
a wavelet transformer which receives digital image data, wavelet-transforms the digital image data in at least one step, and divides the digital image data into a first wavelet region having the lowest frequency and a second wavelet region having the other frequency, to thereby output image data of the first wavelet region and image data of the second wavelet region;
a quantizer which receives both the image data of the first and second wavelet regions and respectively quantizes the image data of the first and second wavelet regions to thereby output first quantization data formed of first quantization coefficients and second quantization data formed of second quantization coefficients, respectively;
a comparator which receives the first quantization data and compares the first quantization coefficients of the first quantization data, to thereby output the maximum quantization coefficient having the maximum quantization coefficient value and the minimum quantization coefficient having the minimum quantization coefficient value, among the first quantization coefficients;
a subtracter which receives the maximum quantization coefficient and the minimum quantization coefficient output from the comparator and subtracts the latter from the former, to thereby output a subtraction constant;
a low data compressor which receives the first quantization data and the subtraction constant and subtracts the subtraction constant from the first quantization coefficients of the first quantization data, to thereby output low compression data obtained by compressing the first quantization data; and
a high data compressor which sequentially receives the second quantization coefficients of the second quantization data and sequentially generates first compression data obtained by coding the number of zero quantization coefficients each having at least one successive zero value among the second quantization coefficients, and second compression data obtained by coding the second quantization coefficients other than the zero quantization coefficients according to a coding rule with reference to the coding rule where compression codes are established according to a respective quantization coefficient, to thereby output high compression data. - View Dependent Claims (2, 4)
-
-
3. The image data compression apparatus of claim 3, wherein the first compression data is inversely transformed from the uppermost bit of the counted binary number data to the lowermost bit thereof,
wherein the inversely transformed data is divided into two bits by two bits and then zero of a binary number is inserted every two bits, wherein zero of a binary number is inserted in front of the uppermost bit of the inversely transformed data, and wherein zero of a binary number is not inserted in the next of the lowermost bit of the inversely transformed data.
-
5. An image compression method comprising:
-
a wavelet transformation process which receives digital image data, wavelet-transforms the digital image data in at least one step, and divides the digital image data into a first wavelet region having the lowest frequency and a second wavelet region having the other frequency;
a quantization process which quantizes the image data of the first wavelet region and the image data of the second wavelet region to thereby generate first quantization data formed of first quantization coefficients and second quantization data formed of second quantization coefficients, respectively;
a quantization data judgement process which receives the first and second quantization data generated in the quantization process, and judges whether currently received quantization data is the first quantization data or the second quantization data;
a comparison process which compares the first quantization coefficients of the first quantization data, if it is judged that the currently received quantization data is the first quantization data in the quantization data judgement process, to thereby output the maximum quantization coefficient having the maximum quantization coefficient value and the minimum quantization coefficient having the minimum quantization coefficient value, among the first quantization coefficients;
a subtraction process which subtracts the minimum quantization coefficient from the maximum quantization coefficient, which are generated in the comparison process, to thereby output a subtraction constant;
a low data compression process which subtracts the subtraction constant from the first quantization coefficients of the first quantization data, to thereby output low compression data obtained by compressing the first quantization data; and
a high data compression process which codes the number of zero quantization coefficients each having at least one successive zero value among the sequentially input second quantization coefficients, if the received quantization data is the second quantization data in the quantization data judgment process, and codes the second quantization coefficients other than the zero quantization coefficients according to a coding rule with reference to the coding rule where compression codes are established according to a respective quantization coefficient, to thereby output high compression data. - View Dependent Claims (6, 7, 8, 9, 10)
-
-
11. An image data compression method comprising:
-
a wavelet transformation process of receiving digital image data, and wavelet-transforming the digital image data in at least one step;
a quantization process of quantizing the wavelet transformed image data to thereby generate quantization data;
a zero coefficient judgement process of judging whether the quantization coefficients of the sequentially input quantization data are zeros;
a counting process of counting the number of the zero quantization coefficients if the quantization coefficients are zeros in the zero coefficient judgment process;
a first compression process of coding the counted result of the counting step into data of a binary number to then generate first compression data, and reset the counted number of the counting process; and
a second compression process of coding the quantization coefficients according to a coding rule with reference to the coding rule where compression codes are established according to a respective quantization coefficient if the quantization coefficients are not zero in the zero coefficient judgment process. - View Dependent Claims (12, 13)
-
-
14. An image data compression method comprising:
-
a wavelet transformation process of receiving digital image data, and wavelet-transforming the digital image data in at least one step;
a quantization process of quantizing the wavelet transformed image data to thereby generate quantization data;
a comparison process of generating the maximum quantization coefficient having the largest quantization coefficient value and the minimum quantization coefficient having the smallest quantization coefficient value, among the quantization data;
a subtraction process of subtracting the minimum quantization coefficient from the maximum quantization coefficient generated in the comparison process, to thereby generate a subtraction constant; and
a compression process of subtracting the subtraction constant generated in the subtraction process from each of the quantization coefficients in the quantization data, to thereby compress the quantization data.
-
-
15. An image decoding apparatus comprising:
-
a first judgment unit which receives image compression data and judges whether the received image compression data is low compression data or high compression data, to thereby output the low compression data and the high compression data;
an adder which receives the low compression data of the first judgment unit and adds a subtraction constant to the received low compression data and transforms the received low compression data into first quantization data;
a second judgment unit which receives the high compression data of the first judgment unit and judges whether the received high compression data is first compression data or second compression data, to thereby output the first and second compression data;
a first decoder which receives the first compression data of the second judgment unit and outputs zero quantization coefficients each having a zero value;
a second decoder which receives the second compression data of the second judgment unit and outputs second quantization data according to a coding rule with reference to the coding rule where quantization coefficients are established depending upon compression codes;
an inverse quantizer which receives the first quantization data, the zero quantization data and the second quantization data, inversely quantizes the first quantization data to then output first wavelet region image data having the lowest frequency, inversely quantizes the zero quantization data and the second quantization data to then second wavelet region image data having frequencies other than the lowest frequency; and
an inverse wavelet transformer which receives the first wavelet region image data and the second wavelet region image data and inversely wavelet-transforms the received first and second wavelet region image data, to thereby output decoded digital image data. - View Dependent Claims (16, 17)
-
-
18. An image decoding method comprising:
-
a first judgment process of receiving image compression data and judges whether the received image compression data is low compression data or high compression data;
an adding process of adding a subtraction constant to the low compression data of the first judgment process and transforming the low compression data into first quantization data;
a second judgment process of judging whether the high compression data of the first judgment process is first compression data or second compression data;
a first decoding process of receiving the first compression data of the second judgment process and outputting zero quantization data each having a zero value;
a second decoding process of receiving the second compression data of the second judgment process and outputting second quantization data according to a coding rule with reference to the coding rule where quantization coefficients are established depending upon compression codes;
an inverse quantization process of receiving the first quantization data, the zero quantization data and the second quantization data, inversely quantizing the first quantization data to then output first wavelet region image data having the lowest frequency, inversely quantizing the zero quantization data and the second quantization data to then second wavelet region image data having frequencies other than the lowest frequency; and
an inverse wavelet transformation process of receiving the first wavelet region image data and the second wavelet region image data and inversely wavelet-transforming the received first and second wavelet region image data, to thereby output decoded digital image data.
-
Specification