CogIPOneImageQuantize Levels Property Cognex VisionPro 9.8
Specifies the number of pixel value levels to map the image to. For instance, cogIPOneImageQuantizeLevel2 designates that the input image be partitioned into pixel values 0 and 128.

Namespace: Cognex.VisionPro.ImageProcessing
Assembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 75.1.0.0
Syntax

public CogIPOneImageQuantizeLevelConstants Levels { get; set; }

Property Value

Type: CogIPOneImageQuantizeLevelConstants
Exceptions

ExceptionCondition
ArgumentException

The new value is not in CogIPOneImageQuantizeLevelConstants.

Remarks

For instance, if you specify cogIPOneImageQuantizeLevel2 all of the pixels in the image will be partitioned into one of two pixel values: 0 and 128.

Default Value: s2

See Also