Patent ID: 8885075

Claim:
An image processing device comprising a black level correcting section configured to correct a black level of an effective pixel signal read out from an effective pixel section in which a light enters a photoelectric conversion element based on a black level signal read out from an optical black section in which a photoelectric conversion element is light shielded, wherein the black level correcting section includes, a first input restricting unit configured to perform a first input restriction, having a preset first signal level range as a reference, on the black level signal; a moving average calculation unit configured to calculate a moving average of signal values for the black level signal subjected to the first input restriction; a second input restricting unit configured to perform a second input restriction, having a second signal level range including the moving average as a reference, on the black level signal subjected to the first input restriction; and a correction amount calculation unit configured to calculate a difference of an average of signal values subjected to the second input restriction and a black level standard value, which is a standard of the black level of the effective pixel signal, as a correction amount to apply on the effective pixel signal.