An auto-line-division system for handwriting manuscript for line-division of a handwriting manuscript from an electronic handwriting input panel;
- the system recording coordinates of each points of all strokes of the handwriting manuscript and generating time for each point;
- herein, direction of lines being a line direction (x direction) and different lines arranged along a y direction which is vertical to the x direction;
- the system including a mainframe;
- the mainframe including a processor, and a memory;
- the processor serving to perform operations needed;
- the memory serving to store computer programs used and data related;
- the system further comprising:
- a line height unit for calculating a standard height and a standard width of the manuscript;
- an abnormal delete unit connected to the line height unit, which receives the standard height and the standard width from the line height unit;
- the abnormal delete unit serving to delete abnormal strokes in the manuscript, wherein the abnormal stroke is defined that a height of one stroke is higher than a set time of the standard height, or the width of one stroke is wider than another set time of the standard width;
- a pre-division unit connected to the abnormal delete unit for receiving the manuscript which has been processed by the abnormal delete unit;
- wherein the pre-division unit serves to roughly divide the manuscript into several lines in advance along a y axis direction;
- for an original first line firstly detected, a leftmost edge in the original first line and a rightmost edge in this original first line are detected;
- then a height of a first set time of the standard height is used as a line height in division of the manuscript, this line height is used to divide the manuscript again to get a first line of the manuscript;
- for other portion of the manuscript, the same process is proceeded again and again to divide the manuscript into several lines;
- a special line unit connected to the pre-division unit for receiving the manuscript after dividing by the pre-division unit;
- in this special line unit, each isolation point and each reversal stroke are set as a single line, which are incorporated into another adjacent line in the following steps;
- an overlarge line division unit connected to the special line unit and the pre-division unit for receiving the manuscript processed by the special line unit;
- the overlarge line division unit serves to re-divide overlarge lines which have divided by the pre-division unit;
- the definition of the overlarge line is that for a line after divided by the pre-division unit, if the height (in y axis direction) of the line is greater than a second set time of the standard height, the line is considered as an overlarge line;
- a space incorporation unit connected to the overlarge line division unit for receiving the manuscript processed by the overlarge line division unit;
- wherein the space incorporation unit sere to assert whether the division of the normal line is correct;
- if it is considered incorrect, the normal line is deserted, while the original line before processed by the overlarge line division unit is accepted;
- for the lines formed by isolation points and reversal lines are also processed by the spaced incorporation unit for being incorporated into other lines;
- a multiple line unit connected to the space incorporation unit for receiving the manuscript from the space incorporation unit;
- wherein the multiple line unit serves to calculate the distances between strokes of lines from the space incorporation unit;
- the distance is the distance from a rightmost end of a former stroke to a leftmost end of a latter stroke;
- if the distance is greater than a set width, the two strokes are viewed as boundaries, and the former and latter strokes are divided into different two lines;
- and
- the manuscript is line-divided by above ways.