摘要 |
A point defect and a line defect in a captured image resulting due to an imaging element defect in a digital camera are interpolated. A defect correction circuit of a digital camera simultaneously corrects a point flaw, a vertical line flaw, and a horizontal line flaw in a captured image. In consideration of cases in which a point flaw and a vertical line flaw are present adjacent to each other, the defect correction circuit executes predetermined difference calculations using pixels surrounding a target pixel to be corrected and determines an interpolation pattern based on a comparison of magnitude among the difference calculation values. The defect correction circuit also selects, for interpolation, an interpolation pattern from among interpolation patterns prepared in advance based on an adjacent pattern of the point flaw and line flaw. The adjacent pattern is detected by a defect decode circuit 78.
|