1. A method of measuring an outline of a feature on a surface, comprising: providing a substrate, the substrate comprising a feature on a surface of the substrate, the feature comprising walls; illuminating the surface of the substrate; imaging edges of the walls to measure a first contour and a second contour of the feature; and calculating an outline of the feature based on the first contour and the second contour.