Patent ID: 8374432

Claim:
An image processing apparatus, comprising: a data receiving unit that receives image data; an extracting unit that extracts pieces of image data corresponding to visually different image areas of an image of the image data received by the data receiving unit; a first storage unit that stores therein the pieces of the image data extracted by the extracting unit; a second storage unit that stores therein a plurality of criteria for identifying each of the image areas as one of processing areas that are subjected to different image processing depending on an image segmentation mode for segmenting the image data into the processing areas; a mode receiving unit that receives a selection of the image segmentation mode from a user; a criterion selecting unit that selects one of the criteria stored in the second storage unit based on the image segmentation mode selected by the user by using the mode receiving unit; an area identifying unit that identifies each of the image areas of the pieces of the image data stored in the first storage unit as one of the processing areas based on the criterion selected by the criterion selecting unit; and an image processing unit that performs image processing associated with each of the processing areas on the processing areas identified by the area identifying unit, wherein the extracting unit includes an edge extracting unit that extracts an edge area from the image data; and a color extracting unit that extracts a color area having a predetermined color from the image data; the second storage unit stores therein a plurality of criteria based on correspondence of each of the image areas with the edge area and the color area; the area identifying unit identifies each of the image areas as one of the processing areas based on the criterion selected by the criterion selecting unit; and the second storage unit stores therein a first criterion for identifying an image area corresponding to the edge area as a processing area to be subjected to image processing for text and a second criterion for identifying an image area corresponding to both the edge area and the color area as a processing area to be subjected to image processing for text.