IgnoreColorSpectra Property (Read Only)

NI Vision for Visual Basic

IgnoreColorSpectra Property (Read Only)

Syntax

CWIMAQLearnColorPatternOptions.IgnoreColorSpectra

Data Type

CWIMAQIgnoreColorSpectra

Purpose

Information about colors to ignore in the template during the learn phase. The default is an empty set of spectrums, which indicates that nothing is ignored.

Remarks

Any color excluded during the learning process is also ignored from the template in the match phase. Use this property to exclude background colors from the learned template image.