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

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

public void SetPreMap16(
	ushort[] value
)

Parameters

value
Type:  System UInt16 
The desired PreMap16 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 not a 1-dimensional array with a size of 65536.
Remarks

Pixel map that is to be applied to the 16 bit 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