Cog3DRangeImageHeightCalculatorResult PixelCounts Property Cognex VisionPro
Result information which identifies the number of pixels in the range image that fall into each of 4 different categories.

See Cog3DRangeImagePixelCountsTypeConstants for the definition of the different categories.

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

public Cog3DRangeImagePixelCounts PixelCounts { get; }

Property Value

Type: Cog3DRangeImagePixelCounts
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