Patent ID: 8854510

Claim:
An image pickup apparatus comprising: an image pickup unit that includes two-dimensionally arrayed microlenses and a plurality of photoelectric conversion portions, two or more of the plurality of photoelectric conversion portions corresponding to one microlens; a generation unit configured to generate a recording image using a signal output from the plurality of photoelectric conversion portions; a detection unit configured to generate a pair of image signals in a pupil division direction using a signal obtained from the plurality of photoelectric conversion portions to perform focus detection based on a phase difference of the pair of image signals; a defective photoelectric conversion portion storage unit configured to store defective photoelectric conversion portion information of the image pickup unit; and a defective photoelectric conversion portion compensating unit configured to compensate a signal of a defective photoelectric conversion portion based on an output of the defective photoelectric conversion portion storage unit, wherein the defective photoelectric conversion portion compensating unit compensates the signal of the defective photoelectric conversion portion using a signal obtained from a photoelectric conversion portion that is disposed in a direction different from the pupil division direction with respect to the defective photoelectric conversion portion, wherein the image pickup unit includes color filters corresponding for each of the microlenses, and wherein the defective photoelectric conversion portion compensating unit corrects a signal of the defective photoelectric conversion portion using a signal output from a photoelectric conversion portion having a same color as the defective photoelectric conversion portion.