Patent ID: 8126253

Claim:
A method for automatically determining machine vision tool parameters, the method comprising: providing an image; providing a desired image result for the image, the desired image result including one or more markings made by a user to indicate a desired measure of each of one or more objects to be located and/or inspected in the image; selecting a combination of machine vision tool parameters; running, using a computer, a machine vision tool on the image using the combination of machine vision tool parameters so as to provide a computed image result that includes a computed measure of each of one or more objects in the image; comparing, using a computer, (i) the desired image result with the computed image result so as to provide a comparison result vector that characterizes differences between the desired measure of each of one or more objects in the image and the computed measure of each of one or more objects in the image; and (ii) that comparison result vector to a comparison result vector associated with a previous combination of machine vision tool parameters; and determining, using a computer, a combination of machine vision tool parameters that is better with respect to the differences between the desired image result and the computed image result when the machine vision tool is run on an image of a type provided.