Patent ID: 8629924

Claim:
An image processing apparatus that processes image data that is output from an image sensing device including a plurality of pixels, comprising: a storage unit that stores defect data that comprises: a plurality of tables in which imaging conditions or an imaging environment and first information showing grades of defective pixels that are subject to correction are associated with each other; and, with respect to each defective pixel among the plurality of pixels, address information, reference table information showing a table to be referred to among the plurality of tables, and second information showing a grade of the defective pixel; an acquisition unit that acquires an imaging condition and an imaging environment at a time of image sensing; a determination unit that compares the first information that is shown by a table corresponding to the reference table information and the second information of each defective pixel in the defect data with respect to the imaging condition or imaging environment that said acquisition unit acquires, and determines whether defect correction of each defective pixel is necessary or not based on a comparison result; and a correction unit that performs the defect correction on image data that is output from a defective pixel for which said determination unit determines that defect correction is necessary; wherein: the imaging conditions include a charge accumulation time, a sensitivity, and an f number at a time of image sensing, and the imaging environment includes a temperature of said image sensing device at a time of image sensing; and the plurality of tables include: a first table showing a temperature of said image sensing device at a time of image sensing, a sensitivity at a time of image sensing, a charge accumulation time at a time of image sensing, and a grade of a defective pixel that is subject to correction; a second table showing a sensitivity at a time of image sensing and a grade of a defective pixel that is subject to correction; and a third table showing an f number at a time of image sensing and a grade of a defective pixel that is subject to correction.