×

Method of auto-deskewing a tilted image

  • US 7,376,285 B2
  • Filed: 12/13/2004
  • Issued: 05/20/2008
  • Est. Priority Date: 12/13/2004
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of auto-deskewing an original image, comprising the steps of:

  • obtaining an original image by scanning to acquire values of pixels in the original image;

    subjecting the original image to a binarization process;

    setting a datum line in the original image wherein the step of setting the datum line in the original image comprises the steps of determining a plurality of selected pixels in the original image;

    setting sequentially a plurality of to-be-determined lines in the original image;

    computing a plurality of average distances between each of the selected pixels and each of the to-be-determined lines;

    comparing the average distances with a distance threshold; and

    taking the to-be-determined line as the datum line if the average distance is less than the distance threshold;

    determining a tilting angle of the original image on the basis of the datum line; and

    adjusting the original image according to the determined tilting angle.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×