Patent ID: RE41364

Claim:
A method for determining if an image from a scanner has an occurrence of scan line misalignment, the scanner comprising a housing, a scanning platform upon which is placed a document to be scanned, a scanning module to scan the document, and a driving module to drive the scanning module, the method comprising: scanning a document having a test image and collecting corresponding scan line image information from a plurality of scan lines in order, each scan line image having a portion of the scanned image of the test image; using a method of searching for a predetermined boundary point to find the position of a boundary point of the test image from the information in every scan line image; calculating a regression line from the position of the boundary point; calculating discrepancies of corresponding positions of boundary points and the slope reciprocal of the regression line from the image information of adjacent scan lines and determining corresponding error values from every discrepancy and slope reciprocal; and comparing every error value with a predetermined gate value to determine if the scan line images from the scanner have any occurrences of scan line misalignment.