1. A micropattern measuring method, comprising: acquiring an image of a micropattern including plural layers; extracting a rough outline of the micropattern in the image as a sequence of points including plural points; dividing the plural points composing the sequence of points into groups; making each of the groups as each of patterns belong to any of the plural layers; and acquiring edge coordinates of a pattern to be measured from the patterns which are made to belong to the respective layers.