CogBlobSegmentationParams ScalingValue Property Cognex VisionPro
Pixel value that represents a blob weight of 1.0, all other pixel values are interpreted on a linear scale relative to ScalingValue.

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

public int ScalingValue { get; set; }

Property Value

Type: Int32
The default is 255.
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 less than or equal to 0 or greater than 255.
Remarks

Pixel value that represents a blob weight of 1.0, all other pixel values are interpreted on a linear scale relative to ScalingValue.

This property is only useful if you are specifying None, Map, or SubtractionImage. You should make sure that no pixel in the input image has a value greater than the scaling value, and you should also make sure that no value in the GetMap  or GetPostMap  maps has a value greater than the scaling value.

This parameter is ignored for labeled connectivity.

See Also