CogIPOneImageGaussSampler SampleX Property Cognex VisionPro 9.10
Subsampling rate in the X direction that reduces the image width, dividing by the specified value. Sampling is performed after the Gaussian filter is applied. In general, SampleX should be less than SmoothnessX.

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

public int SampleX { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
CogIPOneImageGaussSampler Changed

Fires when the value of this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentException

The sampling block size is <= 0.

Remarks

Subsampling factor in the x-direction. The width of the resulting image is reduced in size by this factor. Sampling takes place after the Gaussian filter is applied.

Default Value: 1

See Also