摘要 |
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 startpoint 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.
|