摘要 |
PROBLEM TO BE SOLVED: To perform an appropriate interpolation processing along a direction where a boundary is present, around a defective portion of an image by accurately detecting said direction and to accelerate a processing speed by suppressing the amount of arithmetic processing for detecting the direction where the boundary is present. SOLUTION: One target pixel O is selected out of defective pixels, a search interval is adjusted in accordance with the number of pixels included in image data, and one or more normal pixels P are detected on both sides of detection lines L in a plurality of directions passing through the target pixel O. A pixel value of each of the detected normal pixels P is used to operate an interpolation value of the target pixel O for each of the detection lines L, a pixel value of each of the normal pixels P detected along with the detection lines L is used to operate a weight coefficient for each detection line L, and the interpolation value and the weight coefficient of the target pixel O for each detection line L are used to operate a weighted average value of the interpolation value, so that the target pixel O is corrected. COPYRIGHT: (C)2005,JPO&NCIPI
|