Gets or sets whether to ignore the polarity of edge features when
searching for patterns. If "true", the polarity of the pattern features
is ignored. If "false", only patterns whose polarity matches the trained
pattern will be found.
Namespace: Cognex.VisionPro.PMRedLineAssembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 69.0.0.0
Syntax
Property Value
Type: Boolean"True" if polarity is to be ignored. "False" otherwise. Default value is "false".
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: |
Remarks
You should ignore polarity if instances of your pattern may have edge features whose polarity is the opposite of the trained ones. In this case your pattern should receive approximately the same score regardless of whether some, all, or none of the features have opposite polarity.
See Also