Cog3DRangeImageHeightCalculatorResult GetHeightFromHistogramBin Method Cognex VisionPro
Get the height value for a given histogram bin index. See also: GetHistogramBinFromHeight(Double)

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

public double GetHeightFromHistogramBin(
	int bin
)

Parameters

bin
Type: System Int32
The bin from which to find a cooresponding height value.

Return Value

Type: Double
Exceptions

ExceptionCondition
InvalidOperationException
  • If the result does not contain any histogram data.
  • If is less than 0 or greater the total number of bins.
See Also