Inventors:
Peter C. Wayner - Ithaca NY
Daniel P. Huttenlocher - Ithaca NY
Michael J. Hopcroft - Ithaca NY
Todd A. Cass - Cambridge MA
Assignee:
Xerox Corporation - Stamford CT
International Classification:
G06K 936
Abstract:
A processor measures skew of lines in an image by obtaining a first, coarse approximation to skew direction and then using the first approximation to obtain a second, fine approximation that is more precise than the first. A third, even more precise approximation can be obtained using the second approximation, and further successive approximations can be similarly obtained. In an image of text, the first approximation can be obtained by finding the direction in which characters are closest together, since intercharacter distances are typically smaller than interline distances. This direction can be determined by measuring distances from selected pixels at edges of connected components across white pixels to edges of other connected components. The measured distances in each direction can be combined to obtain a central value for the direction, such as an average. The central values form a profile indicating central value as a function of direction.