Patent ID: 7257270

Claim:
An image processing device, comprising: detection-correction means for carrying out detection of one or more defective portions of an image represented by image information and carrying out correction for the one or more defective portions; judgment means for carrying out determination of whether or not the image is suited for detection and correction by the detection-correction means; and control means for controlling the detection-correction means such that if the judgment means determines that the image is not suited for detection and correction by the detection-correction means, then either said detection and correction is cancelled or said detection and correction is performed only for a region of the image other than a region which is determined by the judgment means to be unsuited for said detection and correction, wherein the one or more defective portions are caused by a scratch or foreign matter on an image recording material, wherein the image processing device further comprises a memory for registering types of image recording media, and wherein the judgment means receives information representing a type of an image recording medium on which the image is recorded and, if the type matches a type in the register, determines that the image is not suited for said detection and correction.