Patent ID: 8441545

Claim:
An image capturing apparatus comprising: an image sensor including image forming pixels that receive incident light passed through a photographing optical system and focus detection pixels with divided-pupil, different from the image forming pixels, that receive incident light passed through the photographing optical system; a memory control unit configured to read out from a memory position information for the focus detection pixels stored in the memory; and a generation unit configured to perform: a first generation of identifying positions of the focus detection pixels in the image sensor based on the position information for the focus detection pixels and generating a pixel signal, for focus detection, corresponding to a defective focus detection pixel using pixel signals of defect-free focus detection pixels which are not adjacent to the defective focus detection pixel, and a second generation of identifying positions of the focus detection pixels in the image sensor based on the position information for the focus detection pixels and generating a pixel signal, for image recording, corresponding to the defective focus detection pixel using pixel signals of the image forming pixels.