Patent ID: 7003161

Claim:
A method for generating a case-specific boundary locating routine for determining a boundary location on an image of an object that is imaged by a machine vision system having at least two image filtering elements, the method comprising: identifying an area of interest on the image of the object that is imaged by the machine vision system, the area of interest indicative of the boundary to be located on the object; determining at least two filtered image results in the vicinity of the area of interest, the at least two filtered image results based at least partially on at least one of the at least two image filtering elements; selecting at least one of the at least two image filtering elements based on the at least two filtered image results; determining the case-specific boundary locating routine, wherein the case-specific boundary locating routine comprises: generating a pseudo-image that includes a boundary corresponding to a boundary to be located on the object, based on the at least one selected image filtering element; and performing an edge detection operation on the pseudo-image to determine the boundary location.