Patent ID: 7813005

Claim:
An apparatus for processing image data including a plurality of areas of different types, the apparatus comprising: a reading unit that obtains the image data by reading a document through a reading glass; a line-delay memory that performs line-synchronization for image area determination; a dust detecting unit that detects a dirty place on the reading glass and outputs dust data as a dust detection result; a determining unit connected in parallel with the line-delay memory, wherein the determining unit determines a type of each of the areas in the image data; an edge enhancing unit that applies an edge enhancement to each of the areas based on the type determined; and a vertical-streak corrector that corrects vertical-streaks by executing interpolation processing using image data adjacent to the dust data that is output by the dust detecting unit; and a control unit that sets, when the type of an area determined is a text area, and when the area overlaps the dirty place detected, an amount of the edge enhancement for the area to be an amount used for a photo area in the image data that does not overlap the dirty place detected.