1. A method for generating a focus signal, comprising: capturing an image that has a plurality of edges each having an edge width, the image captured using a first pixel array; providing an exclusion filter that has a discrimination between a first edge and a second edge based on at least a characteristic of the first and second edges, the characteristic not related a location of the first or second edge; and, generating a focus signal that is a function of the edge width and the discrimination.