ColorIgnoreMode
Specifies whether the function excludes certain colors from the color features of the template image. Any color the function excludes during the learning process is also excluded in the match phase.
Elements
Name | Value | Description |
---|---|---|
IMAQ_IGNORE_NONE | 0 | Specifies that the function does not ignore any pixels. |
IMAQ_IGNORE_BLACK | 1 | Specifies that the function ignores black pixels. |
IMAQ_IGNORE_WHITE | 2 | Specifies that the function ignores white pixels. |
IMAQ_IGNORE_BLACK_AND_WHITE | 3 | Specifies that the function ignores black pixels and white pixels. |
IMAQ_BLACK_WHITE_IGNORE_MODE_SIZE_GUARD | 0xFFFFFFFF | Reserved |