Pattern Recognition (PRC) API Function List

Initialization

PRC_Init Initializes the pattern recognition system.

Input Point Processing

PRC_InitStrokes Initializes the PRCStrokes structure.
PRC_AppendPoint Adds a new point to the input stroke data.
PRC_AppendPenUpMarker Adds a marker to the input stroke data that indicates that the pen has been lifted.
PRC_Clear Returns to the clear state that immediately follows input stroke data initialization.
PRC_IsFull Checks whether input stroke structure is full.
PRC_IsEmpty Checks whether input stroke structure is empty.
PRC_IsPenUpMarker Checks for the pen-up marker.
PRC_CopyStrokes Deep copies the PRCStrokes structure.

Sample Pattern DB Operations

PRC_GetPrototypeDBBufferSize* Acquires the memory size required by PRC_InitPrototypeDB*.
PRC_InitPrototypeDB* Converts the sample pattern list and converts it into a sample DB to be used in pattern recognition.

Input Pattern Operations

PRC_GetInputPatternBufferSize* Acquires the memory size required by PRC_InitInputPattern*.
PRC_InitInputPattern* Shapes raw input stroke data to convert it into input pattern data that is used for pattern recognition.
PRC_GetInputPatternStrokes Obtains input stroke data from input pattern data.
PRC_ResampleStrokes* Resamples raw stroke input data to reduce the number of points.

Pattern Recognition

PRC_GetRecognitionBufferSize* Acquires the memory size required by PRC_GetRecognizedEntry*.
PRC_GetRecognizedEntry* Recognizes a pattern by matching an input pattern to a sample DB.
PRC_GetEntryCode Acquires a pattern code from a sample DB entry.
PRC_GetEntryData Acquires user data that is associated with a sample DB entry.
PRC_GetEntryStrokes Obtains stroke data that corresponds to a sample DB entry.

Types, Structures

PRCPoint Structure that expresses input points from the touch panel.
PRCStrokes Structure that holds a string of input coordinate values.
PRCPrototypeList Structure that expresses the list of sample patterns that is used for recognition.
PRCPrototypeEntry Structure that expresses the attributes of each sample DB entry.
PRCPrototypeDB Expresses the sample DB that is used by the pattern recognition API.
PRCInputPattern Expresses input pattern data that has been shaped for use by the pattern recognition API.
PRCPrototypeDBParam Expresses parameters used when decoding the sample DB.
PRCInputPatternParam Expresses parameters used when shaping input pattern data.
PRCRecognizeParam Structure that expresses parameters used for recognition.
PRCResampleMethod Enumerated type that specifies the algorithm to use for resampling.