IP Library Granted Patent US 7,031,526
Granted Patent B2
US 7,031,526 · App. 10/637,957 · Granted Apr 18, 2006

Reshaping freehand drawn lines and shapes in an electronic document

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,031,526
App. No.
10/637,957
Granted
Apr 18, 2006
Kind
B2
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.

Claims (43)

1. A system for reshaping freehand drawn lines and shapes in a computing system having a display and a pointing device for drawing lines and shapes on the display, the system comprising:

a polyline recognition module analyzing freehand drawn lines and shapes and generating a polyline made up of sequential straight line segments when the polyline does not form a closed line and generating a polyline shape when the polyline forms a closed line;

a basic shape recognition module responsive to the polyline recognition module and selecting a basic shape from reference ideal shapes as the basic shape of the polyline shape; and

a shape adjustment module responsive to the basic shape recognition module and adjusting the basic shape to provide a specific shape as an improved polyline shape; and

wherein the basic shape recognition module comprises:

a transform module transforming the reference ideal shapes into transformed shapes relative to the polyline shape;

a comparison module matching each transformed shape to the polyline shape and storing a similarity value for each transformed shape indicating similarity between the polyline shape and the transformed shape;

a selection module selecting the transformed shape with the highest similarity value as the basic shape of the polyline shape.

2. The system of claim 1 wherein said shape adjustment module comprises: a test module identifying a specific shape from the basic shape.

3. The system of claim 1 wherein said shape adjustment module comprises:

angle adjustment module changing angles of segments in the basic shape to standard angles for a specific shape; and

line segment adjustment module adjusting the parallelism of line segments and line segments relative to a horizontal and vertical grid line.

4. An apparatus for improving the appearance of freehand drawn lines and shapes displayed in an electronic document, said apparatus comprising:

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;

means responsive to the multiple straight-line-segment shape for selecting a basic shape from reference ideal shapes as the basic shape of the freehand drawn shape; and

means responsive to the basic shape for adjusting the basic shape to provide a specific shape as an improved shape for the freehand drawn shape; wherein said means for selecting a basic shape comprises:

means for matching each transformed shape to the multiple segment shape and storing a similarity value for each transformed shape indicating similarity between the multiple segment shape and the transformed shape;

a means for selecting the transformed shape with the highest similarity value as the basic shape of the freehand drawn shape.

5. The apparatus of claim 4 wherein said means for adjusting comprises: means for identifying a specific shape from the basic shape.

6. The apparatus of claim 4 wherein said means for adjusting comprises:

means for changing angles of segments in the basic shape to standard angles for a specific shape; and

means for setting line segments parallel to each other or to one of a horizontal and vertical grid line.

7. A computer readable medium for executing instructions for improving the appearance of freehand drawn lines and shapes, said instructions including instructions, the when executed, perform steps comprising:

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;

selecting a basic shape from reference ideal shapes as the basic shape of the multiple segment shape; and

adjusting the basic shape to provide a specific shape as an improved shape for the freehand drawn shape; and

wherein said act of selecting a basic shape comprises:

transforming the reference ideal shapes into transformed shapes similar to the multiple segment shape;

matching each transformed shape to the multiple segment shape and storing a similarity value for each transformed shape indicating similarity between the multiple segment shape and the transformed shape; and

selecting the transformed shape with the highest similarity value as the basic shape of the freehand drawn shape.

8. The computer readable medium of claim 7 wherein said act of adjusting comprises: identifying a specific shape from the basic shape.

9. The computer readable medium product of claim 7 wherein said act of adjusting comprises: changing angles between line segments in the basic shape to standard angles for a specific shape; setting line segments parallel to each other or to one of a horizontal and vertical grid line.

10. A method for reshaping freehand drawn lines and shapes in a computing system having a display and a pointing device for drawing lines and shapes on the display, the method comprising the acts of:

analyzing freehand drawn lines and shapes and generating a polyline made up of sequential straight line segments when the polyline does not form a closed line and generating a polyline shape when the polyline forms a closed line;

if the polyline forms a closed line, selecting a basic shape from reference ideal shapes as the basic shape of the polyline shape; and

adjusting the basic shape to provide a specific shape as an improved polyline shape; and wherein selecting a basic shape comprises:

transforming the reference ideal shapes into transformed shapes relative to the polyline shape;

matching each transformed shape to the polyline shape and stroing a similarity value for each transformed shape indicating similarity between the polyline shape and the transformed shape; and

selecting the transformed shape with the highest similarity value as the basic shape of the polyline shape.

11. The method of claim 10 wherein the act of adjusting further comprises identifying a specific shape from the basic shape.

12. The method of claim 10 wherein the act of adjusting further comprises the acts of:

changing angles of segments in the basic shape to standard angles for a specific shape; and

adjusting the parallelism of the line segments and line segments relative to a horizontal and vertical grid line.

Assignments (9)
RELEASE OF SECURITY INTEREST Recorded Mar 17, 2023
From: MUFG BANK, LTD.
To: EVERNOTE CORPORATION
Reel/Frame 063116/0260 →
RELEASE OF SECURITY INTEREST Recorded Oct 8, 2021
From: EAST WEST BANK
To: EVERNOTE CORPORATION
Reel/Frame 057852/0078 →
SECURITY INTEREST Recorded Oct 6, 2021
From: EVERNOTE CORPORATION
To: MUFG UNION BANK, N.A.
Reel/Frame 057722/0876 →
INTELLECTUAL PROPERTY SECURITY AGREEMENT TERMINATION AT R/F 040192/0720 Recorded Oct 22, 2020
From: SILICON VALLEY BANK
To: EVERNOTE CORPORATION
Reel/Frame 054145/0452 →
INTELLECTUAL PROPERTY SECURITY AGREEMENT TERMINATION AT R/F 040240/0945 Recorded Oct 22, 2020
From: HERCULES CAPITAL, INC.
To: EVERNOTE CORPORATION; EVERNOTE GMBH
Reel/Frame 054213/0234 →
SECURITY INTEREST Recorded Oct 19, 2020
From: EVERNOTE CORPORATION
To: EAST WEST BANK
Reel/Frame 054113/0876 →
SECURITY INTEREST Recorded Oct 5, 2016
From: EVERNOTE CORPORATION; EVERNOTE GMBH
To: HERCULES CAPITAL, INC., AS AGENT
Reel/Frame 040240/0945 →
SECURITY AGREEMENT Recorded Sep 30, 2016
From: EVERNOTE CORPORATION
To: SILICON VALLEY BANK
Reel/Frame 040192/0720 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Feb 24, 2006
From: PARASCRIPT, LLC
To: EVERNOTE CORPORATION
Reel/Frame 017214/0818 →