CogPMRedLineZoneScale Overlap Property Cognex VisionPro 9.22
Gets or sets the overlap threshold for the scale degree of freedom zone.

Namespace: Cognex.VisionPro.PMRedLine
Assembly: Cognex.VisionPro.PMRedLine (in Cognex.VisionPro.PMRedLine.dll) Version: 87.0.0.0
Syntax

public double Overlap { get; set; }

Property Value

Type: Double
The scale overlap threshold. Default value is 1.4.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flag may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException The supplied value is less than one.
Remarks

Two result candidates are said to overlap in the scale degree of freedom if the ratio of their scales is less than or equal to the given Overlap threshold. To compute the ratio PMRedLine always divides the larger scale by the smaller one, yielding a value that is greater than or equal to one. For example, given a result with scale of 1.25 and a result with a scale of 2.5, the ratio would be 2.0. These two results would only overlap in the scale degree of freedom if the Overlap value was set to 2.0 or higher.

PMRedLine discards the weaker pattern instance when two pattern instances overlap for all degrees of freedom (DOF) as well as area. See the Overlap property of the angle DOF zone, and the XYOverlap property of the CogPMRedLineRunParams class for more information.

See Also