A correction data generation method generates correction data used to
correct the focal plane position of a lens in consideration of symmetry
of PSF (point spread function) in an optical system. The binarization
step binarizes the intensity of the PSF using a predetermined threshold
value level. The minimum circle calculation step calculates a minimum
circle that circumscribes the PSF binarized in the binarization step for
each of a plurality of regions of an image. The PSF evaluation step
evaluates the PSF of the entire image on the basis of the weighted
average value of the radii of the minimum circles for the plurality of
regions of the image, which are calculated in the minimum circle
calculation step. The correction data calculation step calculates
correction data used to correct the focal plane position of the lens on
the basis of an evaluation value acquired in the PSF evaluation step.