imaqLearnPattern
Usage
int imaqLearnPattern(Image* image, LearningMode learningMode);
Purpose
The mode in which the function learns the template image.
Note This function is obsolete. The replacement function is imaqLearnPattern2(). |
Image Types Supported
IMAQ_IMAGE_U8
Parameters
Name
|
Type
|
Description
|
---|---|---|
image | Image* | The image about which the function learns pattern matching information. The function appends the pattern matching information to the image. |
learningMode | LearningMode | The mode in which the function learns the template image. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |