As described above, the photoelectric conversion device according to the present embodiment is an area sensor including a plurality of pixels P arranged in a matrix inside the pixel region 10. In the present embodiment, an example in which a focus detection device used for performing autofocusing by phase difference detection is formed by using such an area sensor will be illustrated.
In a phase difference detection-type focus detection device, the pixel region 10 used for acquiring image data includes a reference part and a comparison part having an arbitrary size. Further, a correlation operation between image data output from the reference part and image data output from the comparison part is performed to calculate a phase shift amount therebetween, and a distance to an object is measured by using the principle of triangulation. The reference part and the comparison part are paired regions. Therefore, data output from the reference part and the comparison part is paired image data.
In the photoelectric conversion device according to the present embodiment, as illustrated in