Method and apparatus for image compression and decompression
AssigneeHon Hai Precision Industry Co., Ltd.
InventorPEI-CHONG TANG
Life of this patent
Estimating the term…
Abstract
A method of image compressing is provided. During compressing, color intensity of the image is considered. When the color intensity of the image is relatively high, lower bits used for representing the image are dropped. When the color intensity of the image is relatively low, upper bits used for representing the image are dropped. By this, the image is compressed according to color intensity of the image. Therefore, the images with different color intensities are compressed dynamically. Correspondingly, a method of image decompressing is provided. Moreover, a compressing apparatus and a decompressing apparatus are also provided.
Claims14
An image compression apparatus for compressing images, the image compression apparatus comprising:
- a data buffer module for receiving pixel data to be compressed, the pixel data comprising individual color data;
- a control module connected to the buffer module for analyzing color intensity of the pixel data and outputting data line select signal corresponding to the analyzed color intensity;
- a bit selecting module connected to the data buffer module and the control module, the bit selecting module selecting several data bits of each color data of the pixel data according to the data line select signal transmitted from the control module;
- and
- a formatting module connected to the bit selecting module and the control module, the formatting module receiving the data line select signal corresponding to the color intensity outputted from the control module and receiving selected data bits from the bit selecting module, and composing the data line select signal with the selected data bits to yield formatted pixel data.
A image decompressing apparatus for decompressing compressed image with compressed pixel data, the decompressing apparatus comprising:
- a data buffer module for receiving compressed pixel data, the compressed pixel data comprising individual color data;
- a control module connected to the data buffer module for receiving data line select signal contained in the compressed pixel data, and analyzing color intensity of the compressed pixel data according to the data line select signal;
- and
- a restoring module connected to the data buffer module and the control module, the restoring module receiving the compressed pixel data and the data line select signal transmitted from the control module corresponding to the color intensity, and inserting several bits to each individual color data based on the data line select signal.
A method for compressing images using pixel data of the images, the method comprising:
- receiving the pixel data, the pixel data comprising individual color data, each color data represented with a plurality of data bits;
- identifying color intensity of the pixel data from the color data and outputting data line select signal corresponding to the identified color intensity;
- selecting several data bits from each color data based on the data line select signal of the pixel data;
- and
- composing the selected data bits of each color data with the data line select signal to yield formatted pixel data.
Dependencies are inferred from the claim text.