1. A method of determining feature position data to be used for alignment by employing identification of an exact or approximate location of a feature that is at least partially obscured by varying the depth of focus upon a feature on a work piece thereby enabling obtaining and determining a Signal to Noise Ratio (SNR) approximating a maximum value from an image captured by optical means scanning of a feature on said work piece.