CogSearchMaxRunParams IgnorePolarity Property Cognex VisionPro
Gets or sets whether to ignore polarity. If true, pattern polarity is ignored. If false, only patterns with polarity matching the trained pattern will be found.

Namespace: Cognex.VisionPro.SearchMax
Assembly: Cognex.VisionPro.SearchMax (in Cognex.VisionPro.SearchMax.dll) Version: 65.1.0.0
Syntax

public bool IgnorePolarity { get; set; }

Property Value

Type: Boolean
True if ignoring polarity is enabled; otherwise, false. Default value is false;
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfIgnorePolarity
Remarks

This property is used mainly for searching in grey scale images. For color images, it also can be used to search color negative patterns from the trained color pattern.
See Also