1. A method of generating assist features for a pattern to be formed on a surface of a substrate, the steps comprising: (a) generating an image field map corresponding to the pattern; (b) extracting characteristics of a contour at a predetermined threshold of the image field map; and (c) generating at least one assist feature for the pattern in accordance with the characteristics extracted in step (b).