Patent ID: 9554033
Date: 2017-01-24
CPC Classifications: H04N

Claim:
1. A focus detection apparatus comprising: a line sensor including a photoelectric conversion element configured to receive light from an object and an integrating capacitor configured to integrate charges generated in the photoelectric conversion element; a storage unit configured to store information concerning a defective pixel of said line sensor; a first comparison unit configured to compare a signal from the defective pixel with a predetermined threshold; a switching unit configured to switch between a first accumulation mode of transferring charges generated in the photoelectric conversion element to the corresponding integrating capacitor during a charge accumulation period of the photoelectric conversion element and a second accumulation mode of accumulating, in a pixel, charges generated in the photoelectric conversion element during the charge accumulation period without transferring the charges to the integrating capacitor until an end of the charge accumulation period, transferring the charges to the integrating capacitor after the end of the charge accumulation period, and integrating the charges in the integrating capacitor; and a control unit configured to control said switching unit so as to set said line sensor in the first accumulation mode if said first comparison unit determines that a signal from the defective pixel is not more than the predetermined threshold and set said line sensor in the second accumulation mode if said first comparison unit determines that a signal from the defective pixel is larger than the threshold.