Construct a new instance of this class using the supplied
pixel data, mask data, and RootFromSensor3D transform.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 75.1.0.0
Syntax
Parameters
- PixelData
- Type: Cognex.VisionPro CogImage16Grey
Use the pixels in this CogImage16Grey as the height or range data for this image. This argument may not be null.
- MaskData
- Type: Cognex.VisionPro CogImage8Grey
Use the pixels in this CogImage8Grey as the mask data for this image. Defined pixel values are zero (not visible) and 255 (visible). If this argument is null then all pixels are presumed to be visible.
- RootFromSensor3D
- Type: Cognex.VisionPro3D ICog3DTransform
An ICog3DTransform that specifies the mapping from "Sensor3D" space to root space. May not be null.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If PixelData is null. |
| ArgumentNullException | If RootFromSensor3D is null. |
| ArgumentException | If PixelData is not allocated. |
| ArgumentException | If MaskData is not null and is not allocated. |
| ArgumentException | If MaskData and PixelData do not have the same width. |
| ArgumentException | If MaskData and PixelData do not have the same height. |
See Also