Patent ID: 8531559

Claim:
An imaging apparatus comprising: an image sensor; a setting unit configured to preliminarily set in the image sensor an effective pixel region and an optical black region that is at an end portion of the effective pixel region; a shutter configured to shield the image sensor from light to be received at the image sensor; a shutter controller configured to control the shutter to be opened and shut; a memory configured to temporarily store image data formed by photoelectric conversion by the image sensor after the shutter controller controls the shutter to be opened; a temperature acquisition unit configured to acquire an ambient temperature around the image sensor; a determination unit configured to determine whether or not the temperature acquired by the temperature acquisition unit is equal to or more than a threshold value; an acquisition controller configured to control the shutter controller to shut the shutter and to perform control to acquire image data formed by photoelectric conversion at the image sensor with the shutter shut, when the determination unit determines that the temperature is equal to or more than the threshold value; a first correction unit configured to cut out image data of the effective pixel region from the image data acquired by the acquisition controller with the shutter shut, and to correct a difference in an optical black level using the cut-out image data of the effective pixel region, when the determination unit determines that the temperature is equal to or more than the threshold value; and a second correction unit configured to correct a difference in the optical black level using image data of the optical black region from the image data acquired with the shutter opened, without acquiring image data with the shutter shut by the acquisition controller and without using the cut-out image data, when the determination unit determines that the temperature is not equal to or more than the threshold value.