摘要 |
PROBLEM TO BE SOLVED: To generate data which defines appropriate correspondence for converting a pixel value by considering colors other than a background of an image.SOLUTION: An image processing device comprises: an acquisition part for acquiring object image data which is object image data representing an object image by using a plurality of pixels and includes a pixel value of each of the plurality of pixels; an extraction part for extracting a plurality of edge pixels from the plurality of pixels of the object image; a first determination part for determining a first reference value by using the plurality of edge pixels; and a generation part for generating correspondence data which defines correspondence for converting a pixel value before conversion which is a pixel value of each of the plurality of pixels into a converted pixel value by using the first reference value so that a characteristic in the case where the pixel value before conversion smaller than the first reference value is converted into the converted pixel value and a characteristic in the case where the pixel value larger than the first reference value is converted into the converted pixel value become different from each other. |