×

Method and tool for recognizing a hand-drawn table

  • US 8,634,645 B2
  • Filed: 03/28/2008
  • Issued: 01/21/2014
  • Est. Priority Date: 03/28/2008
  • Status: Active Grant
First Claim
Patent Images

1. A computerized method of recognizing an input hand-drawn table formed by freeform line objects, said method comprising:

  • transforming each freeform line object of said table into one of a vertical line segment and a horizontal line segment;

    generating a grid system based on the vertical and horizontal line segments; and

    converting the generated grid system into a table object,wherein said transforming comprises, for each freeform line object;

    determining the start point and end point of the freeform line object;

    generating a temporary line segment extending between the determined start point and end point;

    determining the orientation of said temporary line segment;

    based on the determined orientation, creating one of said vertical line segment and horizontal line segment;

    for each created horizontal line segment, determining whether it overlaps with an existing horizontal line segment and, if so, merging the created and existing horizontal line segments; and

    for each created vertical line segment, determining whether it overlaps with an existing vertical line segment and, if so, merging the created and existing vertical line segments,wherein said transforming further comprises;

    comparing each created horizontal line segment with a horizontal line segment list to determine if it overlaps with an existing horizontal line segment;

    if not, adding the created horizontal line segment to the list and, if so, performing the merging;

    comparing each created vertical line segment with a vertical line segment list to determine if it overlaps with an existing vertical line segment; and

    if not, adding the created vertical line segment to the list and, if so, performing the merging, andwherein said transforming further comprises, prior to said comparing to determine overlap;

    examining each horizontal line segment to determine if it is within a threshold vertical distance of an existing horizontal line segment in the horizontal line segment list;

    if so, performing said comparing to determine overlap and, if not, bypassing the overlap comparing and adding the horizontal line segment to the list;

    examining each vertical line segment to determine if it is within a threshold horizontal distance of an existing vertical line segment in the vertical line segment list; and

    if so, performing said comparing to determine overlap and, if not, bypassing the overlap comparing and adding the vertical line segment to the list.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×