Computes the height of the range image surface relative to
a horizontal base plane with a user specified Z height.
Namespace: Cognex.VisionPro3DThe base plane has a 3D selected space coordinate normal vector (0, 0, 1), i.e. oriented along the positive z axis.
Assembly: Cognex.VisionPro3D (in Cognex.VisionPro3D.dll) Version: 65.1.0.0
Syntax
Parameters
- rangeImage
- Type: Cognex.VisionPro CogImage16Range
The range image surface data of which the height is calculated.
- region
- Type: Cognex.VisionPro ICogRegion
The 2D region of the range image which contains the pixels of interest. Only pixels contained within this region will be used to calculate the height. The region can be null to use the entire range image.
- horizontalPlaneZ
- Type: System Double
The z value (usually the height) of the horizontal 3D plane, in the selected space 3D coordinates of the range image
Return Value
Type: Cog3DRangeImageHeightCalculatorResultExceptions
| Exception | Condition |
|---|---|
| CogOperatorNoInputImageException |
|
| CogImageNoPixelsException |
|
| ArgumentException |
|
| InvalidOperationException |
|
See Also