Image compression and decompression method capable of encoding and decoding pixel data based on a color conversion method
AssigneeHimax Technologies Limited
InventorsKai-Ting Lee, Ling-Shiou Huang
Life of this patent
Estimating the term…
Abstract
An image compression and decompression method encodes and decodes pixel data based on a color conversion method. Base on the relationships of corresponding color components of two adjacent pixels, the corresponding color components are encoded either by a white and black modification, a down-sampling or an edge modification. Based on the relationships of encoded color components of the two adjacent pixels, the corresponding encoded color components are decoded either by an inverse white and black modification, an up-sampling or an inverse edge modification.
Claims15
A computer implemented method for encoding pixel data comprising:
- checking if a pixel and an adjacent pixel are either black or white;
- if one of the pixels is either black or white, performing a white and black modification on data of the pixels by equalizing red, green and blue components of the pixel which is either black or white;
- checking if a difference of a color component of the pixel and a same color component of the adjacent pixel is greater than a predetermined value;
- if the difference of the color components of the two adjacent pixels is not greater than the predetermined value, generating an average of the color components of the pixels and generating a pilot bit;
- and
- if the difference of the color components of the two adjacent pixels is greater than the predetermined value, removing least significant bits (LSBs) of data of the color components of the pixels and generating a pilot bit.
A computer implemented method for encoding pixel data comprising:
- checking if a difference of corresponding color components of two adjacent pixels is greater than a predetermined value;
- if the difference of the color components of the two adjacent pixels is not greater than the predetermined value, down-sampling data of the color components of the pixels and generating a pilot bit corresponding to down-sampling;
- checking if the pixels are black or white one-by-one, and if the pixels contain a black or white pixel, performing a white and black modification on data of the pixels by equalizing red, green and blue components of the pixel which is either black or white.
A computer implemented method for encoding pixel data comprising:
- checking if a difference of corresponding color components of a first pixel and a second pixel adjacent to the first pixel is greater than a predetermined value;
- if the difference of the color components of the first and second pixels is greater than the predetermined value, performing an edge modification by removing least significant bits (LSBs) of data of the color components of the pixels and generating a pilot bit corresponding to removing the LSBs;
- and
- checking if the pixels are black or white one-by-one, and if the pixels contain a black or white pixel, performing a white and black modification on data of the pixels by equalizing red, green and blue components of the pixel which is either black or white.
The computer implemented method of 12 further comprising generating a pilot bit corresponding to down-sampling.
Dependencies are inferred from the claim text.