CogBlobSegmentationParams SetMap Method Cognex VisionPro 9.5
Pixel map that is to be applied to the InputImage when using the Map segmentation mode. Each pixel in the input image is replaced by the value within the pixel map at the index equal to the input image pixel value.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 69.0.0.0
Syntax

public void SetMap(
	byte[] value
)

Parameters

value
Type:  System Byte 
The desired Map values.
Events

Event TypeReason
[Cognex.VisionPro.ICogChangedEvent.Changed]

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
[System.ArgumentException] The supplied value is NULL, or the supplied value is not a 1-dimensional array with a size of either 256 or 65536.
Remarks

The pixel map used to segment the input image when Mode is Map. Each pixel in the input image is replaced by the value within the pixel map at the index equal to the input image pixel value.
See Also