A pattern evaluation method includes: generating first array data from
edge data on a pattern to be evaluated, the edge data on the pattern to
be evaluated being shape data including edge points of the pattern to be
evaluated; generating second array data from edge data on a reference
pattern, the edge data on the reference pattern including edge points of
the reference pattern which serves as an inspection standard of the
pattern to be evaluated; subjecting each component of the second array
data to array conversion processing, the array conversion processing
being designed to convert a value of the component of the second array
data into a function value of a value of a distance from that component
to the edge point closest thereto, thereby generating third array data;
executing arithmetic processing between the first array data and the
third array data to generate fourth array data; and using a component of
the fourth array data to calculate a numerical value representative of an
relation between the pattern to be evaluated and the reference pattern.