摘要 |
PURPOSE:To cut out accurately a circumscribed rectangle corresponding to one character by calculating a circumscribed rectangle circumscribing a picture element group and uniting this circumscribed rectangle and another circumscribed rectangle adjacent to it to generate a new circumscribed rectangle if said calculated circumscribed rectangle is smaller than one character. CONSTITUTION:A picture input part 1 scans characters hand-written on a circuit diagram or the like by a scanner and converts them to picture signals and inputs them to a character cutting-out part 2. The character cutting-out part 2 extracts successively picture elements connected to picture elements constituting characters from picture signals inputted from the picture input part 1 and calculates a circumscribed rectangle circumscribing this picture element group to cut out a rectangular area when a character exists. In this case, if one character described on the circuit diagram is cut out as, for example, two circumscribed rectangles because of partial blur or the like, they are united to generate another circumscribed rectangle. Thus, the circumscribed rectangle corresponding to one character is cut out accurately even if one character is cut out as plural circumscribed rectangles.
|