Patent ID: 8089538

Claim:
An image processing apparatus comprising: a storage medium in which first correction data is stored in advance; a generator circuit arranged to generate second correction data using dark image data that is read from an image-pickup device in which charge accumulation is performed in a state in which the image-pickup device is shielded from light; a first correction circuit arranged to correct image data associated with a defective pixel of the image-pickup device on the basis of the first correction data; a second correction circuit arranged to correct image data associated with the defective pixel of the image-pickup device on the basis of the second correction data; and a control circuit operable to control the image-pickup device based on a shooting mode set in the image-pickup device, and to select either the first correction circuit or the second correction circuit for correcting image data associated with the defective pixel of the image-pickup device based on the shooting mode, wherein the control circuit controls the image-pickup device to perform charge accumulation for obtaining a still image after reading out the first correction data from the storage medium, and selects the first correction circuit to correct the image data related to the defective pixel of the image-pickup device by using the first correction data in a case where a still-image-shooting mode is set in the image-pickup device, and wherein the control circuit controls the image-pickup device to perform charge accumulation for obtaining a moving image after obtaining the second correction data generated by the generator circuit, and selects the second correction circuit to correct the image data related to the defective pixel of the image-pickup device by using the second correction data in a case where a moving-image-shooting mode is set in the image-pickup device.