Patent ID: 8817168

Claim:
A ranging apparatus comprising: an imaging optical system arranged to form an image of a subject; an imaging unit including a pixel group arranged to acquire a first image and a second image, the first and second images being formed by luminous fluxes having passed mainly through a first pupil area and a second pupil area, respectively, of an emitting pupil of the imaging optical system; and a calculation unit, wherein the calculation unit is configured to create a third image by performing convolution integral on the first image with a corrected first image modification function as well as to create a fourth image by performing convolution integral on the second image with a corrected second image modification function, and to calculate a distance up to the subject by comparison of the third and fourth images, wherein the corrected first and second image modification functions are formed by causing respective centroid positions, which are calculated based on data of sampling points of respective first and second image modification functions, to each coincide with the sampling point closest to the centroid position, the sampling points being corresponding to pixel arrangement of the pixel group, and wherein the convolution integral is performed by taking the sampling point closest to the centroid position as a reference point.