摘要 |
An image processing device that processes multivalue image data includes: a histogram storage section that stores an appearance frequency of each of gradation values; a palette storage section that stores the gradation value that corresponds to each of index values; an output section that accesses the histogram storage section data and outputs the appearance frequency of the gradation value of the piece of pixel data; a histogram generator that accesses the histogram storage section for each piece of the pixel data included in the image data and adds one to the appearance frequency of the gradation value of the piece of pixel data; and a palette generator that assigns, when the appearance frequency that is output from the output section indicates 0, the index value to the gradation value and accesses the palette storage section and stores the gradation value that corresponds to the index value.
|