IgnoreBlackAndWhite Property
Syntax
CWIMAQLearnColorPatternOptions.IgnoreBlackAndWhite
Data Type
CWIMAQIgnoreBlackAndWhiteOptions
You can use the following constants with this data type:
- cwimaqDoNotIgnore—Black and white pixels are not ignored during the matching phase.
- cwimaqIgnoreBlack—Black pixels are ignored during the matching phase
- cwimaqIgnoreBlackAndWhite—Black and white pixels are ignored during the matching phase
- cwimaqIgnoreWhite—White pixels are ignored during the matching phase.
Purpose
Boolean that indicates if black or white colors are excluded from the color features of the template image. Any color excluded during the learning process is also ignored from the template in the match phase. The default is cwimaqDoNotIgnore.