CogRLEBuffer DrawIntoImage8Grey Method Cognex VisionPro 9.7
Destructively write into an image from this CogRLEBuffer.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax

public void DrawIntoImage8Grey(
	CogImage8Grey image,
	bool transparencyEnabled,
	byte transparencyValue
)

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

ExceptionCondition
ArgumentException

image is NULL.

CogRLEBufferNotInitializedException

The RLE buffer is not initialized.

Remarks

Destructively write into an image from this CogRLEBuffer.

See Also