摘要 |
A method, medium, and system effectively compressing and/or restoring binary images. By compressing pixel values making up a 2×2 block in an input image, using representative values representing the pixel values and a pattern of the pixel values represented by the representative values, it is possible to effectively compress and/or restore binary images having little similarities between pixel values. In addition, by extracting compressed values and a pattern of pixel values making up a 2×2 block in an image, from compressed data of the 2×2 block, and restoring pixel values using the compressed values and the pattern, it is possible to effectively restore binary images.
|