# US 2001/0026642 A1 · Method and apparatus for transformation and inverse transformation of image for image compression coding

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

- Number: US 2001/0026642 A1
- Document ID: US20010026642A1
- Status: Published application
- Kind: A1
- Application number: 09/789,237
- Filed: 2001-02-20
- Published: 2001-10-04
- Earliest claimed: 2000-02-21
- Inventors: Hyun Soo Kang; Jae Won Chung; kyeong Joong Kim
- Web page: https://patentgrep.com/patent/US20010026642A1

## CPC

- H04N 19/136: Incoming video signal characteristics or properties
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method and apparatus for compression transformation and inverse transformation of a digital image wherein, for the transformation and inverse transformation, a determination is made as to whether all input data values are 0, and an unnecessary transform process is skipped if all the input data values are determined to be 0, thereby reducing power consumption resulting from the unnecessary transform process. The present method and apparatus can very simply be implemented and minimize power consumption. Therefore, the present invention is significantly effective in implementing a low-power video codec essential to mobile communication terminals.

## Claims

### Claim 1

An apparatus for one-dimensional transformation for digital image compression, comprising:
a zero detector for determining whether all values of one-dimensional input data are 0 and generating a first or second control signal in accordance with the determined result;
transformation means for performing a one-dimensional transformation operation for the one-dimensional input data in response to said second control signal from said zero detector; and
a switch for selecting the output of said transformation means in response to said second control signal from said zero detector and said input data in response to said first control signal from said zero detector, respectively.

### Claim 2 (depends on 1)

The apparatus as set forth in claim 1, wherein said zero detector is adapted to generate said first control signal to disable the operation of said transformation means if all the values of said input data are 0 and said second control signal to enable the operation of said transformation means if all the values of said input data are not 0.

### Claim 3 (depends on 1)

The apparatus as set forth in claim 1, wherein said zero detector includes a NOR gate for determining whether all the values of said input data are 0.

### Claim 4 (depends on 1)

The apparatus as set forth in claim 1, wherein said transformation means is adapted to perform said one-dimensional transformation operation in any one of a discrete Fourier transform manner, discrete cosine transform manner, discrete sine transform manner, Karhunen-Loeve transform manner and Walsh-Hadamard transform manner.

### Claim 5

An apparatus for one-dimensional inverse transformation for digital image compression, comprising:
a zero detector for determining whether all values of one-dimensional input data are 0 and generating a first or second control signal in accordance with the determined result;
inverse transformation means for performing a one-dimensional inverse transformation operation for the one-dimensional input data in response to said second control signal from said zero detector; and
a switch for selecting the output of said inverse transformation means in response to said second control signal from said zero detector and said input data in response to said first control signal from said zero detector, respectively.

### Claim 6 (depends on 5)

The apparatus as set forth in claim 5, wherein said zero detector is adapted to generate said first control signal to disable the operation of said inverse transformation means if all the values of said input data are 0 and said second control signal to enable the operation of said inverse transformation means if all the values of said input data are not 0.

### Claim 7 (depends on 5)

The apparatus as set forth in claim 5, wherein said zero detector includes a NOR gate for determining whether all the values of said input data are 0.

### Claim 8 (depends on 5)

The apparatus as set forth in claim 5, wherein said inverse transformation means is adapted to perform said one-dimensional inverse transformation operation in any one of an inverse discrete Fourier transform manner, inverse discrete cosine transform manner, inverse discrete sine transform manner, inverse Karhunen-Loeve transform manner and inverse Walsh-Hadamard transform manner.

### Claim 9

An apparatus for one-dimensional transformation/inverse transformation for digital image compression, comprising:
a zero detector for determining whether all values of one-dimensional input data are 0 and generating a first or second control signal in accordance with the determined result;
transformation/inverse transformation means for selectively performing a one-dimensional transformation operation or one-dimensional inverse transformation operation for the one-dimensional input data in response to said second control signal from said zero detector; and
a switch for selecting the output of said transformation/inverse transformation means in response to said second control signal from said zero detector and said input data in response to said first control signal from said zero detector, respectively.

### Claim 10 (depends on 9)

The apparatus as set forth in claim 9, wherein said zero detector is adapted to generate said first control signal to disable the operation of said transformation/inverse transformation means if all the values of said input data are 0 and said second control signal to enable the operation of said transformation/inverse transformation means if all the values of said input data are not 0.

### Claim 11 (depends on 9)

The apparatus as set forth in claim 9, wherein said zero detector includes a NOR gate for determining whether all the values of said input data are 0.

### Claim 12 (depends on 9)

The apparatus as set forth in claim 9, wherein said transformation/inverse transformation means is adapted to perform said one-dimensional transformation operation in any one of a discrete Fourier transform manner, discrete cosine transform manner, discrete sine transform manner, Karhunen-Loeve transform manner and Walsh-Hadamard transform manner or said one-dimensional inverse transformation operation in any one of an inverse discrete Fourier transform manner, inverse discrete cosine transform manner, inverse discrete sine transform manner, inverse Karhunen-Loeve transform manner and inverse Walsh-Hadamard transform manner.

### Claim 13

An apparatus for one-dimensional transformation/inverse transformation for digital image compression, comprising:
transformation/inverse transformation means for selectively performing a one-dimensional transformation operation or a one-dimensional inverse transformation operation for information of input data of a smaller unit than a bit unit of the input data;
a zero detector for determining whether all values of said information of the smaller unit than the bit unit of said input data are 0 and generating a first or second control signal in accordance with the determined result to control the operation of said transformation/inverse transformation means;
a switch for selecting the output of said transformation/inverse transformation means in response to said second control signal from said zero detector and said input data in response to said first control signal from said zero detector, respectively;
a shift register for shifting and storing input information by the number of bits of a transformation/inverse transformation unit; and
an adder for adding the output of said switch to the information stored in said shift register.

### Claim 14 (depends on 13)

The apparatus as set forth in claim 13, wherein said zero detector is adapted to generate said first control signal to disable the operation of said transformation/inverse transformation means if all the values of said information of the smaller unit than said bit unit of said input data are 0 and said second control signal to enable the operation of said transformation/inverse transformation means if all the values of said information of the smaller unit than said bit unit of said input data are not 0.

### Claim 15 (depends on 13)

The apparatus as set forth in claim 13, wherein said zero detector includes a NOR gate for determining whether all the values of said information of the smaller unit than said bit unit of said input data are 0.

### Claim 16 (depends on 13)

The apparatus as set forth in claim 13, wherein said transformation/inverse transformation means is adapted to perform said one-dimensional transformation operation in any one of a discrete Fourier transform manner, discrete cosine transform manner, discrete sine transform manner, Karhunen-Loeve transform manner and Walsh-Hadamard transform manner or said one-dimensional inverse transformation operation in any one of an inverse discrete Fourier transform manner, inverse discrete cosine transform manner, inverse discrete sine transform manner, inverse Karhunen-Loeve transform manner and inverse Walsh-Hadamard transform manner.

### Claim 17

An apparatus for two-dimensional transformation/inverse transformation for digital image compression, comprising:
an input buffer for storing external input data with a certain bit length and output data from a transposition memory;
a zero detector for determining whether all values of output data from said input buffer are 0 and generating a first or second control signal in accordance with the determined result;
transformation/inverse transformation means for selectively performing a one-dimensional transformation operation or a one-dimensional inverse transformation operation for the output data from said input buffer;
a switch for selecting the output of said transformation/inverse transformation means in response to said second control signal from said zero detector and said output data from said input buffer in response to said first control signal from said zero detector, respectively;
an output buffer for sequentially storing output data from said switch;
said transposition memory adapted for storing output data from said output buffer to transpose it on a two-dimensional plane and transferring the results of transformation/inverse transformation in one direction to said input buffer for the two-dimensional transformation/inverse transformation; and
a clipping part for clipping the output data from said output buffer.

### Claim 18 (depends on 17)

The apparatus as set forth in claim 17, wherein said zero detector is adapted to generate said first control signal to disable the operation of said transformation/inverse transformation means if all the values of said output data from said input buffer are 0 and said second control signal to enable the operation of said transformation/inverse transformation means if all the values of said output data from said input buffer are not 0.

### Claim 19 (depends on 17)

The apparatus as set forth in claim 17, wherein said zero detector includes a NOR gate for determining whether all the values of said output data from said input buffer are 0.

### Claim 20 (depends on 17)

The apparatus as set forth in claim 17, wherein said transformation/inverse transformation means is adapted to perform said one-dimensional transformation operation in any one of a discrete Fourier transform manner, discrete cosine transform manner, discrete sine transform manner, Karhunen-Loeve transform manner and Walsh-Hadamard transform manner or said one-dimensional inverse transformation operation in any one of an inverse discrete Fourier transform manner, inverse discrete cosine transform manner, inverse discrete sine transform manner, inverse Karhunen-Loeve transform manner and inverse Walsh-Hadamard transform manner.

### Claim 21

An apparatus for two-dimensional transformation/inverse transformation for digital image compression, comprising:
an input buffer for storing external input data with a certain bit length and output data from a transposition memory;
transformation/inverse transformation means for selectively performing a one-dimensional transformation operation or a one-dimensional inverse transformation operation for information of output data from said input buffer, of a smaller unit than a bit unit of the output data from said input buffer;
a zero detector for determining whether all values of said information of the smaller unit than the bit unit of said output data from said input buffer are 0 and generating a first or second control signal in accordance with the determined result to control the operation of said transformation/inverse transformation means;
a switch for selecting the output of said transformation/inverse transformation means in response to said second control signal from said zero detector and said output data from said input buffer in response to said first control signal from said zero detector, respectively;
an output buffer for sequentially storing output data from said switch;
said transposition memory adapted for storing output data from said output buffer to transpose it on a two-dimensional plane and transferring the results of transformation/inverse transformation in one direction to said input buffer for the two-dimensional transformation/inverse transformation; and
a clipping part for clipping the output data from said output buffer.

### Claim 22 (depends on 21)

The apparatus as set forth in claim 21, wherein said zero detector is adapted to generate said first control signal to disable the operation of said transformation/inverse transformation means if all the values of said information of the smaller unit than said bit unit of said output data from said input buffer are 0 and said second control signal to enable the operation of said transformation/inverse transformation means if all the values of said information of the smaller unit than said bit unit of said output data from said input buffer are not 0.

### Claim 23 (depends on 21)

The apparatus as set forth in claim 21, wherein said zero detector includes a NOR gate for determining whether all the values of said information of the smaller unit than said bit unit of said output data from said input buffer are 0.

### Claim 24 (depends on 21)

The apparatus as set forth in claim 21, wherein said transformation/inverse transformation means is adapted to perform said one-dimensional transformation operation in any one of a discrete Fourier transform manner, discrete cosine transform manner, discrete sine transform manner, Karhunen-Loeve transform manner and Walsh-Hadamard transform manner or said one-dimensional inverse transformation operation in any one of an inverse discrete Fourier transform manner, inverse discrete cosine transform manner, inverse discrete sine transform manner, inverse Karhunen-Loeve transform manner and inverse Walsh-Hadamard transform manner.

### Claim 25

A method for one-dimensional transformation for digital image compression, comprising the steps of:
a) determining whether all values of input data are 0;
b) outputting said input data directly as the results of transformation without performing a one-dimensional transformation operation, if it is determined at said step a) that all the values of said input data are 0; and
c) performing said one-dimensional transformation operation if it is determined at said step a) that all the values of said input data are not 0.

### Claim 26 (depends on 25)

The method as set forth in claim 25, wherein said step a) includes the step of performing a NOR operation to determine whether all the values of said input data are 0.

### Claim 27 (depends on 25)

The method as set forth in claim 25, wherein said step c) includes the step of performing said one-dimensional transformation operation in any one of a discrete Fourier transform manner, discrete cosine transform manner, discrete sine transform manner, Karhunen-Loeve transform manner and Walsh-Hadamard transform manner.

### Claim 28

A method for one-dimensional inverse transformation for digital image compression, comprising the steps of:
a) determining whether all values of input data are 0;
b) outputting said input data directly as the results of inverse transformation without performing a one-dimensional inverse transformation operation, if it is determined at said step a) that all the values of said input data are 0; and
c) performing said one-dimensional inverse transformation operation if it is determined at said step a) that all the values of said input data are not 0.

### Claim 29 (depends on 28)

The method as set forth in claim 28, wherein said step a) includes the step of performing a NOR operation to determine whether all the values of said input data are 0.

### Claim 30 (depends on 28)

The method as set forth in claim 28, wherein said step c) includes the step of performing said one-dimensional inverse transformation operation in any one of an inverse discrete Fourier transform manner, inverse discrete cosine transform manner, inverse discrete sine transform manner, inverse Karhunen-Loeve transform manner and inverse Walsh-Hadamard transform manner.
