Reshaping freehand drawn lines and shapes in an electronic document
First Claim
1. A method for reshaping freehand drawn inputs in a system having a display and a device for drawing on the display, the method comprising:
- analyzing freehand drawn inputs;
generating a polyline which substitutes for a freehand drawn input if the freehand drawn input does not form a substantially closed line and generating a polyline shape which substitutes for the freehand drawn input if the freehand drawn input forms a substantially closed line;
selecting a basic shape from reference ideal shapes for said polyline shape; and
adjusting the basic shape to a specific shape as an improved polyline shape.
12 Assignments
0 Petitions
Accused Products
Abstract
The invention improves the appearance of freehand drawn lines and shapes in an electronic document by first recognizing freehand drawn lines and shapes and generating a line made up of sequential straight line segments for the freehand drawn line when the line does not form a closed line and generating a multiple straight-line-segment shape when the line forms a closed line. If a multiple segment shape is being reshaped, a basic shape is selected from reference ideal shapes as the basic shape of the multiple segment shape. The basic shape is adjusted to provide a specific shape as an improved shape for the freehand drawn shape. The recognition of the freehand drawn lines and shapes is accomplished by comparing source segments of a source freehand drawn line to a straight line and substituting a straight line segment for a source segment if the deviation between the source segment and the straight line is below a predetermined value. Sequential source segments of a source freehand drawn line are evaluated to determine if they are an angle segment. A segment pair of sequential source line segments are defined as an angle segment having two straight line segments intersecting at a common end point if both source segments of the segment pair are within a predetermined deviation value from a straight line. The straight line segments and angle segments are combined to form a multiple segment line if the line does not close on itself and a multiple segment shape if the line does close on itself.
-
Citations
19 Claims
-
1. A method for reshaping freehand drawn inputs in a system having a display and a device for drawing on the display, the method comprising:
-
analyzing freehand drawn inputs; generating a polyline which substitutes for a freehand drawn input if the freehand drawn input does not form a substantially closed line and generating a polyline shape which substitutes for the freehand drawn input if the freehand drawn input forms a substantially closed line; selecting a basic shape from reference ideal shapes for said polyline shape; and adjusting the basic shape to a specific shape as an improved polyline shape. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A system for reshaping freehand drawn inputs in a computing system having a display and a device for drawing on the display, the system comprising:
-
a polyline recognition module which analyzes freehand drawn inputs, generating a polyline which substitutes for a freehand drawn input if the freehand drawn input does not form a substantially closed line and generating a polyline shape which substitutes for the freehand drawn input if the freehand drawn input forms a substantially closed line; a basic shape recognition module which selects a basic shape from reference ideal shapes for said polyline shape; and a shape adjustment module which adjusts the basic shape to a specific shape as an improved polyline shape. - View Dependent Claims (8, 9, 10, 11, 12, 13)
-
-
14. A computer program product readable by a computer readable storage medium, which contains a computer program comprising instructions for executing a computer process for reshaping freehand drawn inputs in a system having a display and a device for drawing on the display, said computer process comprising:
-
analyzing freehand drawn inputs; generating a polyline which substitutes for a freehand drawn input if the freehand drawn input does not form a substantially closed line and generating a polyline shape which substitutes for the freehand drawn input if the freehand drawn input forms a substantially closed line; selecting a basic shape from reference ideal shapes for said polyline shape; and adjusting the basic shape to a specific shape as an improved polyline shape. - View Dependent Claims (15, 16, 17, 18, 19)
-
Specification