Patent ID: 8451497

Claim:
An image processor comprising a control unit, wherein the control unit includes: a determining unit that determines a reading mode suitable for a document, based on image data corresponding to the document read by a reader once; and a converting unit that converts the image data according to the reading mode determined by the determining unit without performing the reading twice, and the determining unit includes: a color detecting unit that detects color information regarding a color of the document, based on the image data; a color determining unit that determines whether the reading mode suitable for the document is a color mode, based on the color information detected by the color detecting unit; a background detecting unit that detects a background and any one or both of a line segment and a character of the document, based on the image data; a background removing unit that removes the background and any one or both of the line segment and the character detected by the background detecting unit, from the image data; a size detecting unit that detects a size of an area of a portion, which is not removed in the image data, as size information, based on the image data obtained after the background and any one or both of the line segment and the character have been removed by the background removing unit; and a gray determining unit that determines whether the reading mode suitable for the document is a gray mode, based on the size information detected by the size detecting unit.