A sensor including an image pickup element provided with arrangement of a
plurality of pixels, each including a plurality of photoelectric
conversion portions in a depth direction of a semiconductor, outputs each
color component from the same pixel position so that the color components
are not extracted separately but extracted as a component different from
an ordinary color signal, and this causes an image quality deterioration.
The sensor of the present invention, however, is arranged to perform
color correction of the signals of the plurality of pixels output from
the image pickup element by using different color correction
coefficients, respectively, thereby obtaining a high quality image, and
to perform appropriate color correction corresponding to color
temperature by discriminating an appropriate color correction coefficient
to be used for the color correction in accordance with the color
temperature detected by an external color temperature sensor at the time
of photographing.