Graphics identification program
First Claim
1. A computer readable storage medium for storing a graphics identification program to be executed by a computer for identifying a graphical shape of a trace drawn by a user on an input surface of an input device, wherein the graphics identification program causes the computer to execute:
- a detection step of detecting the trace drawn on the input surface as coordinate points in chronological order;
a coordinate point selection step of selecting coordinate points for representing the trace from among a group of the coordinate points in which the detected coordinate points are arranged in chronological order;
a length calculation step of calculating lengths of line segments obtained by connecting the selected coordinate points in chronological order;
an angle calculation step of calculating, for each line segment, an absolute angle which the line segment forms with a previously determined reference straight line or a relative angle which the line segment forms with a line segment adjacent thereto; and
a graphics identification step of comparing a trace graph in an orthogonal coordinate system, whose first axis indicates a distance from a starting point or an ending point of the selected coordinate points to each coordinate point along the line segment and whose second axis indicates an angle of the line segment whose start point is one of the selected coordinate points, with reference graphic graphs respectively representing a plurality of types of previously prepared reference graphics in the orthogonal coordinate system, and identifying a reference graphic represented by a reference graphic graph which most closely resembles the trace graph as a shape of the trace.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing device executing a graphics identification program detects a trace drawn on an input surface as coordinate points in chronological order. Coordinate points for representing the trace are selected from a group of coordinate points arranged in chronological order. Lengths of line segments obtained by connecting the selected coordinate points in chronological order are calculated. Also, for each line segment, an absolute angle and a relative angle are calculated. A trace graph in an orthogonal coordinate system, whose first axis indicates a line segment distance and whose second axis indicates an angle of a line segment whose start point is one of the selected coordinate points, is compared with a reference graphic graph representing a reference graphic in the orthogonal coordinate system, thereby identifying a reference graphic represented by a reference graphic graph which most closely resembles the trace graph as a shape of the trace.
-
Citations
17 Claims
-
1. A computer readable storage medium for storing a graphics identification program to be executed by a computer for identifying a graphical shape of a trace drawn by a user on an input surface of an input device, wherein
the graphics identification program causes the computer to execute: -
a detection step of detecting the trace drawn on the input surface as coordinate points in chronological order;
a coordinate point selection step of selecting coordinate points for representing the trace from among a group of the coordinate points in which the detected coordinate points are arranged in chronological order;
a length calculation step of calculating lengths of line segments obtained by connecting the selected coordinate points in chronological order;
an angle calculation step of calculating, for each line segment, an absolute angle which the line segment forms with a previously determined reference straight line or a relative angle which the line segment forms with a line segment adjacent thereto; and
a graphics identification step of comparing a trace graph in an orthogonal coordinate system, whose first axis indicates a distance from a starting point or an ending point of the selected coordinate points to each coordinate point along the line segment and whose second axis indicates an angle of the line segment whose start point is one of the selected coordinate points, with reference graphic graphs respectively representing a plurality of types of previously prepared reference graphics in the orthogonal coordinate system, and identifying a reference graphic represented by a reference graphic graph which most closely resembles the trace graph as a shape of the trace. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A game apparatus for identifying a graphical shape of a trace drawn by a user on an input surface of an input device, changing game progress based on the identification results, and displaying the change on a display device, comprising:
-
reference graphic storing means for storing a distance from a starting point or an ending point of vertices of each of a plurality of reference graphics, which is composed of a plurality of vertices and line segments connecting between the vertices, to each vertex along each line segment, and an absolute angle which the line segment forms with a previously determined reference straight line or a relative angle which the line segment forms with a line segment adjacent thereto;
detection means for detecting the trace drawn on the input surface as coordinate points in chronological order;
coordinate point selection means for selecting coordinate points for representing the trace from a group of the coordinate points in which the detected coordinate points are arranged in chronological order;
length calculation means for calculating lengths of line segments obtained by connecting the selected coordinate points in chronological order;
angle calculation means for calculating, for each line segment, an absolute angle which the line segment forms with a previously determined reference straight line or a relative angle which the line segment forms with a line segment adjacent thereto; and
graphics identification means for comparing a trace graph in an orthogonal coordinate system, whose first axis indicates a distance from a starting point or an ending point of the selected coordinate points to each coordinate point along the line segment and whose second axis indicates an angle of the line segment whose start point is one of the selected coordinate points, with a reference graphic graph representing each of a plurality of types of reference graphics stored in the reference graphic storing means in the orthogonal coordinate system, and identifying a reference graphic represented by a reference graphic graph which most closely resembles the trace graph as a shape of the trace. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A graphics identification method executed by a computer for identifying a graphical shape of a trace drawn by a user on an input surface of an input device, comprising:
-
a detection step of detecting the trace drawn on the input surface as coordinate points in chronological order;
a coordinate point selection step of selecting coordinate points for representing the trace from among a group of the coordinate points in which the detected coordinate points are arranged in chronological order;
a length calculation step of calculating lengths of line segments obtained by connecting the selected coordinate points in chronological order;
an angle calculation step of calculating, for each line segment, an absolute angle which the line segment forms with a previously determined reference straight line or a relative angle which the line segment forms with a line segment adjacent thereto; and
a graphics identification step of comparing a trace graph in an orthogonal coordinate system, whose first axis indicates a distance from a starting point or an ending point of the selected coordinate points to each coordinate point along the line segment and whose second axis indicates an angle of the line segment whose start point is one of the selected coordinate points, with a reference graphic graph representing each of a plurality of types of previously prepared reference graphics in the orthogonal coordinate system, and identifying a reference graphic represented by a reference graphic graph which most closely resembles the trace graph as a shape of the trace.
-
Specification