Patent ID: 7693347

Claim:
A method of capturing a plurality of images, comprising: capturing a first image using a pixel array arranged in a plurality of columns and a plurality of rows; generating a first set of column sums for the first image, column sums each being a sum of pixel values for each pixel in a column; capturing at least a second image using the pixel array; generating a second set of column sums for the second image; comparing the second image to the first image based on the first and second sets of column sums, thereby detecting that the second image is rotated and/or shifted with respect to the first image; manipulating the second image to thereby correct the shift and/or rotation; and outputting the first and second images, wherein the comparing operation includes generating a set of spatial difference values by using a differentiator to compare each column sum in the first set of column sums to a next column sum in the first set of column sums.