CogRLEBuffer PixelMap Method Cognex VisionPro
Pixel map this CogRLEBuffer.

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

public CogRLEBuffer PixelMap(
	byte[] map
)

Parameters

map
Type:  System Byte 

The pixel map. Each pixel in in this image is replaced with the value at the corresponding offset in the map.

Return Value

Type: CogRLEBuffer
Exceptions

ExceptionCondition
ArgumentException

map's lower bound is < 0 or its upper bound is > 255, or its dimension is > 1.

CogRLEBufferNotInitializedException

The RLE buffer is not initialized.

Remarks

Pixel map this CogRLEBuffer.

See Also