If true, pattern polarity is ignored. If false, only patterns with polarity matching the trained pattern will be found. Only applies to linear search. Linear CNLPAS never ignores polarity. NonLinear CNLPAS always ignores polarity.
Namespace: Cognex.VisionPro.CNLSearchAssembly: Cognex.VisionPro.CNLSearch (in Cognex.VisionPro.CNLSearch.dll) Version: 65.1.0.0
Syntax
Property Value
Type: BooleanEvents
| Event Type | Reason |
|---|---|
| CogCNLSearchPattern Changed | Fires when the value of this property changes. The following state flag may be affected: |
Remarks
If true, pattern polarity is ignored. If false, only patterns with polarity matching the trained pattern will be found. This property only applies to Linear Search. Linear CNLPAS always considers polarity while Nonlinear CNLPAS always ignores polarity.
In general, ignoring polarity increases potential image confusion. Unless you know that your application will need to recognize inverted polarity
Default Value: False
See Also