Gets the mask (visible) and pixel value at the specified
pixel space coordinates.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 73.0.0.0
Syntax
Parameters
- X
- Type: System Int32
The pixel space X coordinate of interest.
- Y
- Type: System Int32
The pixel space Y coordinate of interest.
- VisibleValue
- Type: System Boolean
True if this pixel was visible.
- PixelValue
- Type: System UInt16
The raw pixel value at this location. This is undefined if VisibleValue is false.
Exceptions
| Exception | Condition |
|---|---|
| CogImageNoPixelsException | If Allocated is false. |
See Also