CogImage16Range Constructor (CogImage16Grey, Int32, ICog3DTransform)Cognex VisionPro 9.8
Construct a new instance of this class using the supplied pixel data, missing pixel value, and RootFromSensor3D transform. Mask data is automatically computed by identifying any pixel in the PixelData argument whose value matches the MissingPixelValue as not visible while all other pixels are set to visible. If no missing pixels are found then the mask root is set to null.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 75.1.0.0
Syntax

public CogImage16Range(
	CogImage16Grey PixelData,
	int MissingPixelValue,
	ICog3DTransform RootFromSensor3D
)

Parameters

PixelData
Type: Cognex.VisionPro CogImage16Grey
Use the pixels in this CogImage16Grey as the height or range data for this image.
MissingPixelValue
Type: System Int32
Pixels in the PixelData argument that have this value are set to not visible, and all other pixels are set to visible.
RootFromSensor3D
Type: Cognex.VisionPro3D ICog3DTransform
An ICog3DTransform that specifies the mapping from "Sensor3D" space to root space. May not be null.
Exceptions

ExceptionCondition
[System.ArgumentNullException] If PixelData is null.
[System.ArgumentOutOfRangeException] If MissingPixelValue is less than zero.
[System.ArgumentNullException] If RootFromSensor3D is null.
[System.ArgumentException] If PixelData is not allocated.
See Also