摘要 |
A method for locating a substantially rectangular pattern, in any orientation, in a digitized image used in a document processing system operates by identifying all connected components within the image, discarding those that do not meet certain size criteria, and on the remaining connected components identifying eight compass-position extreme points, four of which may represent the corners of the rectangular pattern. The relationships among the extreme points are then analyzed to determine whether an expected diagonal length, expected height, and expected width of the pattern are all present within a selected tolerance.
|