Computes the height between the surface defined by the range image
pixels and the specified base plane.
Namespace: Cognex.VisionPro3DAssembly: 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 to calculate the height
- 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.
- basePlane
- Type: Cognex.VisionPro3D Cog3DPlane
The plane relative to which the height is calculated. (see also PlaneSide). The basePlane can be null to use a horizontal plane at z = 0.
Return Value
Type: Cog3DRangeImageHeightCalculatorResultExceptions
| Exception | Condition |
|---|---|
| CogOperatorNoInputImageException |
|
| ArgumentException |
|
| InvalidOperationException |
|
| [CogSpaceTreeNotInTreeException] | if the SelectedSpaceName3D of the range image is not in the tree, or if the SelectedSpaceName3D of the plane is not in the tree. |
See Also