1. A method for edge correction in pattern recognition, the method comprising: receiving in a processor a design layout; receiving in a processor a sample plan based on the design layout; receiving in a processor user-generated edge input; and generating in a processor a recipe output from the design layout, the sample plan and the user-generated edge input.