摘要 |
The invention improves the refresh rate and minimizes the memory for display when reproducing a color image. A color image encoding device has a creation device which counts the number of colors used in color image data and creates a global palette which lists corresponding indexes when the number of colors is a specified value or less, a block division device which divides the color image data into a plurality of blocks, a local palette creation device which creates a local palette which lists indexes in the global palette when the number of colors in a block is less than the number of colors in the global palette, and a color index assigning device which assigns the indexes in the global palette to the input pixels when the number of colors is the same as the number of colors in the global palette, and assigns the indexes in the local palette to the input pixels when the numbers of colors is different from the number of colors in the global palette.
|