CogBlobSegmentationParams SetSegmentationNone Method Cognex VisionPro
Sets the segmentation Mode to None and sets the ScalingValue property to the value supplied.

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

public void SetSegmentationNone(
	int scalingValue
)

Parameters

scalingValue
Type: System Int32
Pixel value that represents a blob weight of 1.0, all other pixel values are interpreted on a linear scale relative to this value.
Exceptions

ExceptionCondition
[System.ArgumentException]scalingValue is less than or equal to 0 or greater than 255.
Remarks

Sets the segmentation Mode to None and sets ScalingValue to the value supplied.

This function suspends event delivery, then sets the public properties of CogBlobSegmentationParams with the supplied values. A single event that includes all of the affected functional area is typically generated.

See Also