CogSearchMaxRunParams XYOverlap Property Cognex VisionPro 9.7
Gets or sets the area overlap threshold. Result candidates overlap in area if the percentage of area overlap is greater than XYOverlap. SearchMax discards the weaker pattern instance when two pattern instances overlap for all DOFs as well as area. Valid range is from 0 to 1.0.

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

public double XYOverlap { get; set; }

Property Value

Type: Double
The area overlap threshold. Default value is 0.8.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfXYOverlap
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown when you attempt to set this to a value less than 0 or greater than 1.0.
See Also