Claims
- 1. A document edge detection apparatus comprising:
- (a) edge point detection means for detecting at equal intervals in a primary scanning direction and in a secondary scanning direction perpendicular to the primary scanning direction a plurality of binarized points along at least two edges of a rectangular document image in a two-dimensional image space;
- (b) direction vector creation means for creating direction vectors by connecting adjacent pairs of the plurality of binarized edge points detected by the edge point detection means;
- (c) counting means for counting each of the direction vectors created by said vector direction means and the number of other direction vectors that have a parallel relationship with vectors included along one document edge in the secondary scanning direction and the number of direction vectors having a perpendicular relationship with vectors included along another document edge in the primary scanning direction;
- (d) selection means for retaining the points of the direction vectors with the highest count together with vectors parallel thereto in the secondary scanning direction and eliminating points belonging to other direction vectors having a lower count and retaining the points of the direction vectors having a perpendicular relationship with vectors included along another document edge in the primary scanning direction; and
- (e) edge calculation means responsive to points retained by the selection means for each of the scanning directions for obtaining an equation of a straight line for each one of the two edges of the rectangular document image that is coincident with its corresponding document edge.
Priority Claims (1)
Number |
Date |
Country |
Kind |
4-314497 |
Nov 1992 |
JPX |
|
Parent Case Info
This is a continuation of application Ser. No. 08/047,908, now abandoned.
US Referenced Citations (4)
Continuations (1)
|
Number |
Date |
Country |
Parent |
47908 |
Apr 1993 |
|