Patent ID: 6954233

Claim:
An electronic camera for electronic photography utilizing an image pick-up device, comprising: a focus detection sensor for photoelectrically converting a pair of images of an object formed by a pair of beams of light which have passed through a photographing lens respectively; a first focus detection circuit for measuring an interval between the images of the object based on an output of the focus detection sensor and for outputting first information on the state of focusing of the photographing lens based on the interval; a second focus detection circuit for measuring a peak position of contrast values of the images of the object from image data output by the image pick-up device and for outputting second information on the measured state of focusing of the photographing lens based on the peak position of the contrast values; an arithmetic circuit for calculating a control parameter for correcting any relative deviation of the focal position of the photographing lens based on the first and second information; a mode setting circuit for setting a normal mode for performing an AF operation based on a phase difference calculation and a normal electronic photographic operation using the first focus detection circuit and a test mode for adjusting the focal position of the image pick-up device using the first focus detection circuit and the second focus detection circuit; and a control circuit for controlling the first focus detection circuit and the second focus detection circuit when the test mode is set by the mode setting circuit and for controlling only the first focus detection circuit when the normal mode is set by the mode setting circuit.