Patent ID: 8622546

Claim:
A method of locating a set of valid light spots produced on a pixel array by a wavefront of interest, the method comprising: a first stage, including: selecting a pixel of the pixel array; a second stage, including: determining whether a light intensity value for the selected pixel is greater than a threshold, when the light intensity value for the selected pixel is determined to be greater than the threshold, determining whether the selected pixel belongs to a valid light spot, the determining comprising: assigning a set of the pixels including the selected pixel as an area of interest for the potential light spot; calculating a first calculated location of a centroid of the potential light spot within the area of interest including using a first calculation algorithm; calculating a second calculated location of the centroid of the potential light spot within the area of interest using a second calculation algorithm different from the first calculation algorithm; and when a difference between the first and second calculated locations of the centroid for the potential light spot is less than an agreement tolerance, determining that the pixel belongs to a valid light spot, and otherwise, determining that the selected pixel does not belong to a valid light spot; when the selected pixel is determined to belong to a valid light spot: saving light spot location data indicating a determined location for the valid light spot with respect to the pixel array, and masking out a group of pixels of the pixel array corresponding to a defined area at the determined location of the valid light spot such that the masked pixels are considered for a remainder of the method to have light intensity values less than the threshold; and repeating the first stage and the second stage for a plurality of pixels of the pixel array.