Patent ID: 6917699

Claim:
An image processing method comprising the steps of: calculating a theoretical value of a position of a reference point in a rotated image which is obtained by rotating a reference image that contains said reference point by a specified angle; detecting a measured value of said position of said reference point by performing pattern matching on said rotated image; retaining a difference between said theoretical value and said measured value as a calibration amount that corresponds to said specified angle; detecting measured values of positions of at least two reference points in an object of detection by performing pattern matching on an image of said object of detection; calculating an angle of rotation of said object of detection with respect to said reference image on a basis of said measured values of said positions of said at least reference points that have been detected; and calculating accurate positions of said reference points in said object of detection on a basis of said measured values of said positions of said reference points in said object of detection, said angle of rotation of said object of detection, and said calibration amount.