Cog3DRangeImageHeightCalculatorResult PixelCountsDiagImage Property Cognex VisionPro
Identifies which pixels in the range image were "used" to calculate the height.

Each pixel in the pixel counts diag image is a bit-wise or of Cog3DRangeImagePixelCountsTypeConstants.

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

public CogImage8Grey PixelCountsDiagImage { get; }

Property Value

Type: CogImage8Grey
Remarks

In the context of the height calculator, "used" pixels are the image pixels that contribute to the height calculation.

A range image pixel is "used" to calculate the height if:

Pixels that meet these conditions contribute to the height computation and are marked as "used" in the PixelCountsDiagImage.

Only "used" pixels are included in the height tool's Histogram data.

Note that the height of an individual range image pixel is defined as the signed distance from the center of the range image pixel to the nearest point on the base plane (measured in selected space 3D units).

By default the positive height direction is defined to be in the same direction as the normal vector of the base plane. However, the positive height direction can be reversed by setting the [P:Cognex::VisionPro3D::Cog3DRangeImageHeightCalculator::PlaneSide] property.

See Also