Cog3DRangeImageCrossSectionAreaOperatorBase HeightThreshold Property Cognex VisionPro 9.5
Gets or sets the height threshold. Points with heights below this threshold are treated as noise and are thus excluded from the computations. Note that 'height' in this context means the difference in height between the cross section and the lines. The heights are measured in ProfileSelectedSpaceName units along the Image Y axis.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 69.0.0.0
Syntax

public double HeightThreshold { get; set; }

Property Value

Type: Double
Please note that because of the nature of the surfaces in the real world and the accuracy of the sensor setting a height threshold to 0.0 will not benefit the calculation at all. We stringly recommend to set it to a value higher than 0.0.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfHeightThreshold
Exceptions

ExceptionCondition
ArgumentException If the value is less than 0.
See Also