摘要 |
PROBLEM TO BE SOLVED: To accurately compose master pattern. SOLUTION: When a pattern to be measured preliminarily decided as non- defective is divided into a plurality of photographing areas in accordance with the visual field of a camera and a master pattern is prepared from an image obtained by photographing each photographing area with the camera while changing the relative position of the camera and the pattern to be measured, imaging is performed so as to generate an overlapping area in adjacent imaging areas (step 101). The correlation value of each overlapping part is calculated in the images of two adjacent imaging areas, the positional deviation quantity between the images of the two imaging areas is calculated from a peak position having the highest correlation value and the two images are composed on the basis of the positional deviation quantity (step 104). Thus, a master pattern corresponding to the entire pattern to be measured is prepared. |