Image processing system with image cropping and skew correction
AssigneeHewlett-Packard Company
InventorDaniel R. Tretter
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Company
InventorDaniel R. Tretter
Estimating the term…
An arrangement is described for determining the skew angle of a document image without requiring text or other skew detection information in the document or without human intervention. The arrangement accomplishes this by determining an edge of the document image within a scan image and uses that edge to determine the skew angle of the document image. The edge can be determined by locating the first or last document image pixel of each scan line of pixels in the scan image that belongs to the document image. This is accomplished by comparing each pixel of each scan line of pixels with a predetermined scan line of background pixels. The skew angle of the document image is then determined by computing the slope of the detected edge in the scan image. An arrangement of determining the boundary of the document image is also described. The arrangement does this by locating (1) a first document image pixel and a last document image pixel for the first scan line of the document image in the scan image, (2) a first document image pixel and a last document image pixel for the last scan line of the document image in the scan image, (3) a leftmost document image pixel of the document image in the scan image, and (4) a rightmost document image pixel of the document image in the scan image.
A method of determining a skew angle of a document image inside a scan image having a plurality of scan lines of pixels, comprising the steps of:
An apparatus, comprising:
Dependencies are inferred from the claim text.