摘要 |
PROBLEM TO BE SOLVED: To provide a technique in which suitable binary image data indicating a character can be generated.SOLUTION: An image processing device has: an object image acquisition part; and a generation part for generating binary image data indicating a character in an object image. The generation part has a background color specifying part for specifying a background color value indicating a background color; a character color specifying part for specifying a character color value indicating a character color; a feature value determination part for determining a feature value on sharpness of the character; a threshold determination part for determining a binarization threshold by using the background color value, the character color value, and the feature value; and a binarization processing part for executing binarization processing by using the binarization threshold to generate the binary image data. |