. . . "nsisting of the function -KEp or the function -K?????(Ei/Si2)/??(1/Si2) where K is a coefficient and the first-mentioned function is selected where a maxima or a minima exists between the ends of a edge and the second mentioned function is selected where the distance values exhibit an inclination relative to the edge; and correcting each edge position of said exposure pattern according to an outpu" .