IP Library Granted Patent US 7,027,666
Granted Patent B2
US 7,027,666 · App. 10/262,049 · Granted Apr 11, 2006

Method for determining skew angle and location of a document in an over-scanned image

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,027,666
App. No.
10/262,049
Granted
Apr 11, 2006
Kind
B2
Abstract

A method for determining skew angle ( 5 ) and location of a document in an over-scanned digital image is disclosed. A document is scanned to capture a gray scale image. The outline pixel ( 1 ) of a document from the captured gray scale image are connected ( 2 ). An initial angle is set at zero and a x-minimum, y-minimum, x-maximum, and y-maximum of the polygon are determined ( 3 ). A rectangular boundary ( 4 ) area based on the x-minimum, y-minimum, x-maximum, and y-maximum is calculated and recorded. The angle is recorded and the polygon is rotated z-degree. The process is repeated and a minimum boundary area is selected. An angle corresponding to the minimum boundary is the skew angle of the document.

Claims (58)

1. A method for determining skew angle and location of a document in an over-scanned digital image comprising the steps of:

a) scanning a document;

b) capturing a gray scale image;

c) detecting outline pixels of a document from said captured gray scale image;

d) connecting said detected pixels in a sequential order to form an outline polygon;

e) setting angle θ=0;

f) determining a x-minimum, y-minimum, x-maximum, and y-maximum of said polygon;

g) calculating a rectangular boundary area based on said x-minimum, y-minimum, x-maximum, and y-maximum;

h) recording said boundary area and θ;

i) rotating said polygon z-degrees;

j) resetting θ=θ+z-degrees;

k) repeating step f-j n-times;

l) selecting a minimum boundary area from said boundary areas recorded in step h);

m) recording a corresponding angle at said minimum boundary area; and

n) assigning said rotation angle having the minimum bounding area as said skew angle of said document.

2. A method as in claim 1 comprising the additional step of:

o) subtract x-minimum, from x-maximum, at said skew angle to determine document width; and

p) subtract y-minimum from said y-maximum, at said skew angle to determine document length.

3. A method as in claim 2 comprising the additional step of:

q) performing a location transformation of an origin point of said minimum bounding area to locate the document.

4. A method as in claim 3 comprising the additional step of:

r) calculating an area of said polygon;

s) comparing send area of said polygon to said minimum boundary area; and

t) if said area of said polygon is within k-units of said minimum boundary area, there is a high degree of confidence that said location is correct.

5. A method as in claim 1 wherein said scanning is accomplished by a CCD sensor.

6. A method as in claim 1 wherein z=½ degree.

7. A method as in claim 1 wherein a rotation point for said polygon is located outside of said polygon.

8. A method as in claim 1 wherein a rotation point of said polygon is on said polygon.

9. A method as in claim 1 wherein a rotation point for said polygon is located inside said polygon.

10. An image processing method for determining skew angle and location of a document in an over-scanned digital image comprising:

a) scanning a document;

b) capturing a digital image;

c) detecting outline pixels of a document from said captured digital image;

d) connecting detected pixels in a sequential order to form an outline polygon;

e) determine a x-minimum, y-minimum, x-maximum, and y-maximum of said polygon;

f) set n=1

g) calculating a n rectangular boundary area based on said x-minimum, y-minimum, x-maximum, and y-maximum;

h) rotating said polygon z-degrees;

i) determine a new x-minimum, y-minimum, x-maximum, and y-maximum of said polygon;

j) m=n+1

k) calculating a new rectangular boundary area based on said x-minimum, y-minimum, x-maximum, and y-maximum; and

l) if said m rotational boundary area is greater than said n rectangular boundary area go to step m); if m boundary area is less than said n boundary area, reset n=n+1 and go to step g); if said m boundary area is equal to said n boundary area go to step m); and

m) end program.

11. A method for determining skew angle and location of a document in an over-scanned digital image comprising the steps of:

a) scanning a document;

b) capturing a color digital image;

c) detecting outline pixels of a document from said captured color digital image;

d) connecting said detected pixels in a sequential order to form an outline polygon;

e) setting angle θ=0;

f) determining a x-minimum, y-minimum, x-maximum, and y-maximum of said polygon;

g) calculating a rectangular boundary area based on said x-minimum, y-minimum, x-maximum, and y-maximum;

h) recording said boundary area and θ;

i) rotating said polygon z-degrees;

j) resetting θ=θ+z-degrees;

k) repeating step f-j n-times;

l) selecting a minimum boundary area from said boundary areas recorded in step h);

m) recording a corresponding angle at said minimum boundary area; and

n) assigning said rotation angle having the minimum bounding area as said skew angle of said document.

Assignments (11)
RELEASE OF SECURITY INTEREST Recorded Aug 29, 2025
From: FGI WORLDWIDE LLC
To: KODAK ALARIS LLC
Reel/Frame 072740/0681 →
CHANGE OF NAME Recorded Oct 31, 2024
From: KODAK ALARIS INC.
To: KODAK ALARIS LLC
Reel/Frame 069282/0866 →
RELEASE OF SECURITY INTEREST Recorded Aug 7, 2024
From: THE BOARD OF THE PENSION PROTECTION FUND
To: KODAK ALARIS INC.
Reel/Frame 068481/0300 →
SECURITY AGREEMENT Recorded Aug 2, 2024
From: KODAK ALARIS INC.
To: FGI WORLDWIDE LLC
Reel/Frame 068325/0938 →
ASSIGNMENT OF SECURITY INTEREST Recorded Nov 17, 2021
From: KPP (NO. 2) TRUSTEES LIMITED
To: THE BOARD OF THE PENSION PROTECTION FUND
Reel/Frame 058175/0651 →
SECURITY INTEREST Recorded Oct 5, 2020
From: KODAK ALARIS INC.
To: KPP (NO. 2) TRUSTEES LIMITED
Reel/Frame 053993/0454 →
CHANGE OF NAME Recorded Oct 9, 2013
From: 111616 OPCO (DELAWARE) INC.
To: KODAK ALARIS INC.
Reel/Frame 031393/0902 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 6, 2013
From: EASTMAN KODAK COMPANY
To: 111616 OPCO (DELAWARE) INC.
Reel/Frame 031179/0119 →
RELEASE OF SECURITY INTEREST IN PATENTS Recorded Sep 5, 2013
From: CITICORP NORTH AMERICA, INC., AS SENIOR DIP AGENT; WILMINGTON TRUST, NATIONAL ASSOCIATION, AS JUNIOR DIP AGENT
To: EASTMAN KODAK COMPANY; PAKON, INC.
Reel/Frame 031157/0451 →
PATENT SECURITY AGREEMENT Recorded Apr 1, 2013
From: EASTMAN KODAK COMPANY; PAKON, INC.
To: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS AGENT
Reel/Frame 030122/0235 →
SECURITY INTEREST Recorded Feb 21, 2012
From: EASTMAN KODAK COMPANY; PAKON, INC.
To: CITICORP NORTH AMERICA, INC., AS AGENT
Reel/Frame 028201/0420 →