Abstract: Data ID obtained by making analog-to-digital conversion of an output of an image sensor or the like is subjected to shading correction, to obtain correction data SOUT. The correction data SOUT is found by the following equation using white reference data WST and black reference data BST: ##EQU1## where K is a coefficient.