CogBlobSegmentationParams SetPreMap Method Cognex VisionPro 9.5
Pixel map that is to be applied to the InputImage when using subtraction image as the segmentation mode. Each pixel in the InputImage is used as an index into PreMap. The input pixel value is replaced with the value from PreMap.

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

public void SetPreMap(
	byte[] value
)

Parameters

value
Type:  System Byte 
The desired PreMap 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 256.
Remarks

Pixel map that is to be applied to the input image before subtracting the subtraction image. This property is only used if Mode is SubtractionImage. Each pixel in the input image is used as an index into the supplied map. The input pixel value is replaced with the value from the map.

See Also