Patent ID: 8805076
Filing Date: 2014-08-12
Classification: G06K

Abstract:
1. An image processing apparatus comprising: a measuring unit that measures lengths of segments in an image; a first evaluating unit that evaluates the segments based on the lengths of the segments measured by the measuring unit, wherein the first evaluating unit extracts segments having lengths in a range set in advance in a direction of the image at each position in another direction of the image intersecting with the direction, obtains a total number of black pixels of the extracted segments arranged in the direction by counting the black pixels thereof, and employs the obtained total number of the black pixels as a first evaluation result; a second evaluating unit that evaluates the segments based on the lengths of the segments measured by the measuring unit, wherein the second evaluating unit calculates an indication of frequency of appearance of similar lengths of the segments arranged in the direction at each position in said another direction, in which the similar lengths are based on a run length uniformity (RLU), and employs the calculated indication as a second evaluation result; and a determining unit that determines whether each segment forms a ruled line based on the first evaluation result obtained by the first evaluating unit and the second evaluation result obtained by the second evaluating unit.