Patent ID: 8300689

Claim:
An apparatus to encode an image containing a gray alpha channel image, the apparatus encodes the image including gray alpha components and brightness and hue components in units of predetermined blocks, the apparatus comprising: a block data reception unit which receives image data of a block currently being input to the apparatus and classifies the current block either as a foreground image portion or as a background image portion according to the values of the gray alpha components included in the current block; a foreground image encoding unit which sequentially encodes the gray alpha components and the brightness and hue components of the current block if the current block is classified as the foreground image portion; and a background image encoding unit which encodes the gray alpha components of the current block without encoding initial brightness and hue components of the current block if the current block is classified as the background image portion, wherein the gray alpha components are included in the current block in advance for serving as a mask for classifying the foreground image portion and the background image portion in the image and the values of the gray alpha components indicate a degree of opacity of the current block and serve as weights for the brightness and hue components of the current block when synthesizing a plurality of images.