KR20170011638A - Method and apparatus for normalizing shape of handwritten figure - Google Patents
Method and apparatus for normalizing shape of handwritten figure Download PDFInfo
- Publication number
- KR20170011638A KR20170011638A KR1020150104557A KR20150104557A KR20170011638A KR 20170011638 A KR20170011638 A KR 20170011638A KR 1020150104557 A KR1020150104557 A KR 1020150104557A KR 20150104557 A KR20150104557 A KR 20150104557A KR 20170011638 A KR20170011638 A KR 20170011638A
- Authority
- KR
- South Korea
- Prior art keywords
- information
- graphic
- user
- ink
- unit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/80—Creating or modifying a manually drawn or painted image using a manual input device, e.g. mouse, light pen, direction keys on keyboard
-
- G06K9/00402—
Abstract
The present invention relates to a method and apparatus for shaping a handwritten figure, and a method for shaping a handwritten figure according to the present invention includes the steps of generating ink information including information on each of points constituting a stroke received from a user, Analyzing the geometric shape to generate graphic type information and graphic feature information corresponding to the ink information, determining an application rule to be applied to the graphic feature information among rules stored in advance based on the graphic type information, And a step of outputting a stereotyped graphic based on the stereotyped graphic information. By applying an application rule suitable for the shape of the graphic input by the user, The input figure can be corrected to the standard figure by reflecting the intention of the user.
Description
BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to a method and apparatus for formatting handwritten graphics, and more particularly, to a method and apparatus for outputting an accurate graphic handwritten by a user by applying an application rule appropriate to the input handwritten graphics.
A keyboard or a mouse used as a main input device of an electronic device is difficult to carry and there is a problem in that it can not meet the trend of portable electronic devices. In order to solve such a problem, researches on a technique for recognizing a user's voice or contact have been continuously carried out. Among them, a touch recognition technology for recognizing a user's touch can provide an intuitive interface to a user It is getting attention from point.
The touch recognition technology has a very wide spectrum, from a technique of detecting only a user's touch to a technique of recognizing a user's handwriting. Here, the handwriting recognition technology refers to a technique of recognizing a pattern of a stroke through a finger or a stylus pen, and can provide a user experience (UX) as if it is recorded using a pen on actual paper , The research is proceeding steadily.
In the conventional case, since the handwriting input by the user through the touch screen panel is inaccurate, the figure input by the handwriting of the user is often drawn in a figure that is different from the intention of the user. For example, even if a user inputs a stroke to draw a figure such as a vertical line, a horizontal line, a regular polygon, or a circle, it is very difficult to accurately input the correct vertical line, horizontal line, regular polygon, or circle according to the user's intention. As a conventional technique, there is a technique for correcting a figure input by a user's handwriting. However, the conventional art has a problem that the input figure is not suitable for correcting the input figure into a figure having a large geometric condition, such as a vertical line, a horizontal line, have.
Accordingly, there is a need to develop a method and apparatus capable of correcting a figure input by a user's handwriting reflecting the intention of the user and shaping the figure into a figure such as a regular polygon or a circle.
A problem to be solved by the present invention is to provide a method for shaping a handwritten graphic, which can correct an input graphic to a stereoligraphic shape by reflecting an intention of a user by applying an application rule suitable for the shape of the graphic form input by a user will be.
Another problem to be solved by the present invention is to provide a user interface that allows a user to select a figure to input by comparing a figure input by a user with a figure formatted by a user, The present invention provides a method of shaping a handwritten figure.
Another problem to be solved by the present invention is to provide a method of stereographizing a handwritten graphic that changes a previously stored rules for stereotyping so as to more accurately reflect a user's intention and output a graphic.
The problems of the present invention are not limited to the above-mentioned problems, and other problems not mentioned can be clearly understood by those skilled in the art from the following description.
According to an aspect of the present invention, there is provided a method of formatting a handwritten graphic, the method comprising: generating ink information including information on each of points constituting a stroke received from a user; Analyzing the shape to generate graphic type information and graphic feature information corresponding to the ink information; determining an application rule to be applied to graphic feature information among rules stored in advance based on the graphic type information; Calculating shaping figure information by applying an applying rule, and outputting a figure that has been formatted based on the shape figure information.
According to another aspect of the present invention, there is further provided a method of processing a graphic form corresponding to graphic information and a formatted graphic corresponding to formatted graphic information at the same time, and then querying the user whether or not to output a formatted graphic .
According to still another aspect of the present invention, pre-stored rules can be changed by a user's setting.
According to another aspect of the present invention, the graphic type information is information for identifying that the geometric shape of the ink information is one of a line segment, a polygon, an ellipse, or a circle.
According to another aspect of the present invention, the graphic feature information includes at least one of a view point, an end point, an intersection point, a vertex, a center point, a radius, and a slope.
According to another aspect of the present invention, the shaped figure is characterized by a horizontal line segment, a vertical line segment, a right triangle, an isosceles triangle, a trapezoid, a parallelogram, a regular polygon or a cause.
According to an aspect of the present invention, there is provided an apparatus for shaping a writing figure, comprising: an ink information generation unit for generating ink information including information on each of points constituting a stroke received from a user; A figure information generating unit for analyzing a geometric form of information to generate figure information including figure type information and figure feature information corresponding to the ink information and applying to the figure feature information among rules stored in advance based on the figure type information A determining unit for determining a rule, a calculating unit for calculating shape figure information by applying an applying rule to the shape feature information, and an output unit for outputting a figure shaped based on the formed figure information.
According to another aspect of the present invention, there is further provided a query unit for simultaneously outputting a figure corresponding to the figure information and a shape figure corresponding to the shape figure information, and then querying the user whether to output the shape figure .
According to another aspect of the present invention, the pre-stored rules can be changed by a user's setting.
According to another aspect of the present invention, the graphic type information is information for identifying that the geometric shape of the ink information is one of a line segment, a polygon, an ellipse, or a circle.
According to another aspect of the present invention, the graphic feature information includes at least one of a view point, an end point, an intersection point, a vertex, a center point, a radius, and a slope.
According to another aspect of the present invention, the shaped figure is characterized by a horizontal line segment, a vertical line segment, a right triangle, an isosceles triangle, a trapezoid, a parallelogram, a regular polygon or a cause.
According to an aspect of the present invention, there is provided a computer-readable recording medium for generating ink information including information on each of points constituting a stroke received from a user, And determines the application rule to be applied to the graphic feature information among the rules stored in advance based on the graphic type information, and determines the graphic feature information And a set of instructions for outputting a formalized figure based on the formalized figure information.
The details of other embodiments are included in the detailed description and drawings.
The present invention can apply the application rule suitable for the shape of the figure input by the user, and can correct the input figure to the standard figure by reflecting the intention of the user.
The present invention relates to a handwritten formatting method capable of providing a user interface that allows a user to select a figure to be input by comparing a figure input by a user with a shape figure inputted by a user simultaneously, Can be provided.
The present invention has the effect of displaying a figure by more accurately reflecting a user's intention by changing previously stored rules for stereotyping.
The effects according to the present invention are not limited by the contents exemplified above, and more various effects are included in the specification.
1 is a schematic block diagram of a writing device of a writing figure according to an embodiment of the present invention.
2 is a flowchart illustrating a method of formatting a handwritten graphic according to an embodiment of the present invention.
Figures 3A-3C illustrate an exemplary embodiment implemented in accordance with a method of styling a handwritten graphic according to some embodiments of the present invention.
4 is a table showing application rules applied to a triangle in a method of styling a handwritten graphic according to some embodiments of the present invention.
Figures 5A through 5C illustrate an exemplary embodiment implemented in accordance with a method for styling a handwritten graphic according to some other embodiments of the present invention.
Figures 6A through 6C illustrate an exemplary embodiment implemented in accordance with a method for styling a handwritten graphic according to some other embodiments of the present invention.
BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention, and the manner of achieving them, will be apparent from and elucidated with reference to the embodiments described hereinafter in conjunction with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. Is provided to fully convey the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims.
Although the first, second, etc. are used to describe various components, it goes without saying that these components are not limited by these terms. These terms are used only to distinguish one component from another. Therefore, it goes without saying that the first component mentioned below may be the second component within the technical scope of the present invention.
Like reference numerals refer to like elements throughout the specification.
It is to be understood that each of the features of the various embodiments of the present invention may be combined or combined with each other partially or entirely and technically various interlocking and driving is possible as will be appreciated by those skilled in the art, It may be possible to cooperate with each other in association.
Various embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
In this specification, a stroke is a set of points defined by spatial coordinates, and is a set of points constituting a user's unit input. That is, a stroke is a set of points arranged in time order along the movement path of an input from when the user applies the input until the input is released, and is generally written as a single input or drawn Or line.
In this specification, the ink information refers to a process in which a user performs handwriting on an input device such as a digitizer or a touch screen display using an input means such as a finger or a stylus pen, that is, Quot; information " The ink information may include coordinate information of the points constituting the stroke and order information in which the points constituting the stroke are inputted.
Here, the input device is not necessarily limited to a digitizer or a touch screen display, and even when the input device is a mouse, ink information may be generated by a method such as drag and drop.
1 is a schematic block diagram of a writing device of a writing figure according to an embodiment of the present invention. 1, the handwritten
The handwritten
The ink
The graphic
The determining
The calculating
The
Although not shown in FIG. 1, a handwritten
1, an ink
2 is a flowchart illustrating a method of formatting a handwritten graphic according to an embodiment of the present invention. Figures 3A-3C illustrate an exemplary embodiment implemented in accordance with a method of styling a handwritten graphic according to some embodiments of the present invention. For convenience of explanation, FIG. 1 will be described together.
The method of shaping a writing figure according to an embodiment of the present invention is started by generating ink information including information on each of the points constituting the stroke received from the user by the ink
Next, the graphic
The graphic
The figure
Next, the
1. Straight
For example, if the slope of the straight line is close to 0 ° or 180 °, for example, if the slope of the straight line is -5 ° to 5 ° or 175 ° to 185 °, the straight line is shaped as a horizontal line, For example, if the slope is near 90 or 270 degrees, for example, if the slope of the straight line is 85 to 95 or 265 to 275, the straight line can be normalized to a vertical line. Specifically, when the coordinates of the viewpoint are (x_1, y_1) and the coordinates of the end point are (x_2, y_2), the coordinates of the viewpoint are (x_1, (y_1 + y_2) / 2) In order to transform the coordinates into (x_2, (y_1 + y_2) / 2) and form the straight line as a vertical line, the coordinates of the start point are to be ((x_1 + x_2) / 2, y_1) / 2, y_2).
2. Triangle
The application rule for a triangle is to determine whether the triangle corresponds to an equilateral triangle, a right-angled isosceles triangle, a right triangle or an isosceles triangle, and then determine the triangle as a triangle, a right-angled isosceles triangle, It can be triangulated. 4 is a table showing application rules applied to a triangle in a method of styling a handwritten graphic according to some embodiments of the present invention. Specifically, in order to form a triangle, coordinates of three vertexes of the triangle are substituted into the conditional expression shown in FIG. 4 to judge whether or not the triangle corresponds to an equilateral triangle, a right-angled isosceles triangle, a right triangle or an isosceles triangle do. If the triangle is judged to be an equilateral triangle, a right-angled isosceles triangle, a right triangle or an isosceles triangle, by converting the length of the other two sides based on one side of the three sides of the triangle, the triangle can be represented by an equilateral triangle, a right angle isosceles triangle, Characteristics. ≪ / RTI >
3. Rectangle
The application rule for a rectangle can be modified by changing the angle of the facing side and the length of the adjacent side. Specifically, when the difference between the angles of the opposing sides is smaller than a predetermined value, for example, 5 degrees or less, the angles of the opposing sides can be converted equally. For example, when the difference in the lengths of the neighboring sides is smaller than a preset value, for example, if l_2-l_1 < (l_2 + l_1) x 0.1, the lengths of neighboring sides can be converted equally.
4. Ellipse
The application rule for an ellipse is to shape the ellipse into a circle by changing the length of the major axis and the length of the minor axis according to the ratio of the length of the major axis and the length of the minor axis. For example, if the ratio of the length of the minor axis to the length of the major axis is greater than 0.9, the ellipse may be converted into a circle having the average value of the length of the major axis and the length of the minor axis as radii.
In the present specification, examples of application rules include rules for applying straight lines, triangles, squares, and ellipses, but the present invention is not limited thereto. The rules stored in advance may include various shapes such as polygons, sectors, parabolic lines, Lt; RTI ID = 0.0 > rule. ≪ / RTI >
According to some embodiments of the present invention, the application rules may be changed by the user's settings. By changing the application rules, the criteria for shaping a figure can be raised or lowered. For example, constants such as 1/20 or 10, as shown in the table of FIG. 4, may be changed through the user's setting, where the probability that the figure will be shaped increases as the constant increases and the probability that the figure will be shaped Lower. When changing the application rules, it may be difficult for the user to directly select the constants, so a user interface may be provided for easily changing the application rules. For example, the user can provide a user interface so that the user can select one of the steps 1 to 5 as a criterion for shaping the figure, and when the user selects the step 1, the criterion for shaping the figure increases, You can change the application rules so that the standard for formatting the lower graphic is lowered. The advantageous effect of the present invention in which the shape figure information can be calculated accurately by reflecting the intention of the user more accurately can be obtained by changing the rules stored in advance as the standard of the standardization as described above.
Next, the calculating
Next, the
As described above, the advantageous effect of the present invention is obtained that the input figure can be corrected to the formatted figure by reflecting the user's intention by applying the application rule suitable for the shape of the figure input by the user.
According to some embodiments of the present invention, the query unit may simultaneously output a figure corresponding to the figure information and a shape figure corresponding to the shape figure information through the
Figures 5A through 5C illustrate an exemplary embodiment implemented in accordance with a method for styling a handwritten graphic according to some other embodiments of the present invention. For convenience of explanation, FIG. 1 will be described together.
Referring to FIG. 5A, when a triangle shaped
Referring to FIG. 5B, the
Referring to FIG. 5C, the
Figures 6A through 6C illustrate an exemplary embodiment implemented in accordance with a method for styling a handwritten graphic according to some other embodiments of the present invention. For convenience of explanation, FIG. 1 will be described together.
Referring to FIG. 6A, when an
6B, the figure 620 may be output based on the figure type information and figure feature information generated by the figure
Referring to FIG. 6C, the
In this specification, each block or each step may represent a part of a module, segment or code that includes one or more executable instructions for executing the specified logical function (s). It should also be noted that in some alternative embodiments, the functions mentioned in the blocks or steps may occur out of order. For example, two blocks or steps shown in succession may in fact be performed substantially concurrently, or the blocks or steps may sometimes be performed in reverse order according to the corresponding function.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software module may reside in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor, which is capable of reading information from, and writing information to, the storage medium. Alternatively, the storage medium may be integral with the processor. The processor and the storage medium may reside within an application specific integrated circuit (ASIC). The ASIC may reside within the user terminal. Alternatively, the processor and the storage medium may reside as discrete components in a user terminal.
Although the embodiments of the present invention have been described in detail with reference to the accompanying drawings, it is to be understood that the present invention is not limited to those embodiments and various changes and modifications may be made without departing from the scope of the present invention. . Therefore, the embodiments disclosed in the present invention are intended to illustrate rather than limit the scope of the present invention, and the scope of the technical idea of the present invention is not limited by these embodiments. Therefore, it should be understood that the above-described embodiments are illustrative in all aspects and not restrictive. The scope of protection of the present invention should be construed according to the following claims, and all technical ideas within the scope of equivalents should be construed as falling within the scope of the present invention.
100 Typographic apparatus for writing figure
110 ink information generating section
120 < / RTI &
130 determination unit
140 Calculator
150 output
310 strokes
320 Shapes
330 Shaped Shapes
510 strokes
520 Shape
530 Standard shapes
610 stroke
620 Shape
630 Formal Shapes
Claims (13)
Analyzing the geometry of the ink information to generate graphic type information and graphic feature information corresponding to the ink information;
Determining an application rule to be applied to the graphic feature information among rules stored in advance based on the graphic type information;
Calculating figure information formulated by applying the application rule to the figure feature information; And
And outputting a figure that is formatted based on the figure information that has been formatted.
Further comprising the step of outputting the figure corresponding to the figure information and the figure figure corresponding to the figure figure information at the same time and then querying the user whether to output the figure form figure , A method of stereotyping handwritten figures.
Wherein the pre-stored rules can be changed by a user's setting.
The figure type information includes,
Wherein the information is information for identifying that the geometric shape of the ink information is one of a line segment, a polygon, an ellipse, and a circle.
The graphic feature information includes:
Wherein the information includes at least one of a viewpoint, an endpoint, an intersection, a vertex, a center point, a radius, and a slope.
The above-
A horizontal line segment, a vertical line segment, a right triangle, an isosceles triangle, a trapezoid, a parallelogram, a regular polygon, or a cause.
A figure information generating unit for analyzing the geometric shape of the ink information and generating figure information including figure type information and figure feature information corresponding to the ink information;
A determining unit for determining an application rule to be applied to the graphic feature information among rules stored in advance based on the graphic type information;
A calculating unit for calculating figure information formulated by applying the application rule to the figure feature information; And
And an output unit for outputting a figure that has been shaped based on the figure information.
Further comprising a query unit for simultaneously outputting the graphic form corresponding to the graphic information and the graphic form corresponding to the graphic form information and then querying the user whether to output the standard graphic form , A device for shaping a writing figure.
The pre-
And can be changed by a setting of a user.
The figure type information includes,
Wherein the ink information is information for identifying that the geometric shape of the ink information is one of a line segment, a polygon, an ellipse, and a circle.
The graphic feature information includes:
Wherein the information includes at least one of a viewpoint, an endpoint, an intersection, a vertex, a center point, a radius, and a slope.
The above-
A horizontal line segment, a vertical line segment, a right triangle, an isosceles triangle, a trapezoid, a parallelogram, a regular polygon, or a cause.
Analyzing the geometric shape of the ink information to generate graphic object information including graphic object type information and graphic object characteristic information corresponding to the ink information,
Determining an application rule to be applied to the figure feature information among rules stored in advance based on the figure type information,
Calculating shape information formulated by applying the application rule to the figure feature information,
And a set of instructions for outputting a formatted figure based on the formatted figure information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150104557A KR20170011638A (en) | 2015-07-23 | 2015-07-23 | Method and apparatus for normalizing shape of handwritten figure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150104557A KR20170011638A (en) | 2015-07-23 | 2015-07-23 | Method and apparatus for normalizing shape of handwritten figure |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20170011638A true KR20170011638A (en) | 2017-02-02 |
Family
ID=58154054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020150104557A KR20170011638A (en) | 2015-07-23 | 2015-07-23 | Method and apparatus for normalizing shape of handwritten figure |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20170011638A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019088713A1 (en) * | 2017-11-01 | 2019-05-09 | 주식회사 위즈엑스퍼트 | Method and device for drawing figure |
KR20190072325A (en) | 2017-12-15 | 2019-06-25 | (주) 이즈커뮤니케이션즈 | Method of reconizing graphic |
US11450041B2 (en) | 2019-11-04 | 2022-09-20 | Samsung Electronics Co., Ltd. | Method and electronic device for correcting handwriting input |
-
2015
- 2015-07-23 KR KR1020150104557A patent/KR20170011638A/en unknown
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019088713A1 (en) * | 2017-11-01 | 2019-05-09 | 주식회사 위즈엑스퍼트 | Method and device for drawing figure |
KR101976772B1 (en) * | 2017-11-01 | 2019-08-28 | 주식회사 위즈엑스퍼트 | Apparatus and method for generating figure |
KR20190072325A (en) | 2017-12-15 | 2019-06-25 | (주) 이즈커뮤니케이션즈 | Method of reconizing graphic |
US11450041B2 (en) | 2019-11-04 | 2022-09-20 | Samsung Electronics Co., Ltd. | Method and electronic device for correcting handwriting input |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101417286B1 (en) | Character recognition for overlapping textual user input | |
US10664695B2 (en) | System and method for managing digital ink typesetting | |
US7302099B2 (en) | Stroke segmentation for template-based cursive handwriting recognition | |
US9304681B2 (en) | Recognizing handwriting input using rotatable support lines | |
US9207816B2 (en) | Method of distinguishing objects on touch panel by referring to induced capacitance signal distributions, and related computer readable medium thereof | |
US9020266B2 (en) | Methods and devices for processing handwriting input | |
TWI497402B (en) | Apparatus and method for processing handwriting input | |
Herold et al. | Speedseg: A technique for segmenting pen strokes using pen speed | |
JP6807840B2 (en) | Systems and methods for recognizing geometry | |
US9047001B2 (en) | Information processing apparatus, information processing method, and program | |
JP2006260573A5 (en) | ||
US10956030B2 (en) | Multi-touch based drawing input method and apparatus | |
KR102347554B1 (en) | Systems and methods for beautifying digital ink | |
US20150035778A1 (en) | Display control device, display control method, and computer program product | |
KR101158679B1 (en) | Method for directly inputting figure on electronic document, and computer-readable recording medium storing program of directly inputting figure on electronic document | |
US10884612B2 (en) | Input display control device, input display control method, and input display system | |
US10877577B2 (en) | Input device for electronic device and input system | |
KR20170011638A (en) | Method and apparatus for normalizing shape of handwritten figure | |
JP2019506672A (en) | System and method for recognizing multiple object structures | |
EP2767897B1 (en) | Method for generating writing data and an electronic device thereof | |
US20150293690A1 (en) | Method for user interface display and electronic device using the same | |
CN110633042A (en) | Handwriting erasing method, device and equipment for electronic whiteboard | |
WO2021196013A1 (en) | Word recognition method and device, and storage medium | |
CN115589786A (en) | Method, device and system for recognizing hand-drawn figure and computer readable storage medium | |
US9250802B2 (en) | Shaping device |