Patent ID: 7130536

Claim:
An electronic camera of single-lens reflex type for electronic photography, comprising: a photographing lens for forming an image of an object; a mirror that is set at a first position within the optical path of the photographing lens and at a second position external to the optical path of the photographing lens; a focus detection sensor for photoelectrically converting a pair of images of the object formed by a pair of beams of light which have passed through the photographing lens respectively when the mirror is at the first position; an image pick-up device which can convert the images of the object to electric signals when the mirror is at the second position; a first focus detection circuit for measuring an interval between the images of the object based on an output of the focus detecting 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 outputted by the image pick-up device and for outputting second information on the 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 and a test mode, the normal mode being a mode for performing an AF operation based on phase difference calculation and a normal electronic photographic operation using the first focus detection circuit, the test mode being a 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.