Destructively write into an image from this CogRLEBuffer.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Syntax
Parameters
- image
- Type: Cognex.VisionPro CogImage8Grey
The image into which the RLE buffer will be copied.
- transparencyEnabled
- Type: System Boolean
When True, portions of the RLE buffer whose value is transparencyValue are not copied into the destination image. Instead the original image pixels remain unmodified, as if the RLE buffer were transparent in those regions.
- transparencyValue
- Type: System Byte
If transparencyEnabled is True, portions of the RLE buffer with this value are treated as if they were transparent;: they are not copied into the destination image.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | image is NULL. |
| CogRLEBufferNotInitializedException | The RLE buffer is not initialized. |
Remarks
Destructively write into an image from this CogRLEBuffer.
See Also