CWIMAQIgnoreColorSpectra

NI Vision for Visual Basic

CWIMAQIgnoreColorSpectra

CWIMAQIgnoreColorSpectra contains information about color spectra that is ignored by CWIMAQVision.LearnColorPattern. Any color spectrum excluded during the learning process is also ignored from the template in the match phase. Use this object to ignore background colors that you do not want to be part of the template image.

Methods

AddColorInformationAdds color information learned using CWIMAQVision.LearnColor.
EmptyClears all color information from the IgnoreColorSpectra. After calling this method, all colors in the template are learned.

See Also

CWIMAQLearnColorPatternOptions