An image correction method having a small number of setting parameters
achieved by integrating shift (alignment) in unit of a sub-pixel and
image correction. A relationship between an inspection reference pattern
image and a pattern image under test is identified, a mathematical
expression model which fits a pixel error, expansion and
contraction/distortion noise, and sensing noise of the image is
constructed, and the model is simulated to generate an estimation model
image.