The present invention provides an
image processing device, an
image processing method, and a recording medium that enable various defect portions to be accurately corrected. R, G, B, and IR are respectively read in an image recorded on a photographic film and transverse
chromatic aberration correction is performed on each of the R, G, B, and
IR image data. Subsequently, defect portions in the image being processed are detected based on the IR data, and predetermined feature amounts are calculated for the image portion being processed. Based on the results of this calculation, either one of the interpolation method or brightness adjustment method is selected as the
correction method for the defect portion being processed, or the ranges in which each of these correction methods is to be applied are decided. Consequently, either one of the two correction methods or both correction methods are applied and the correction values decided, and the final correction values are then determined.