CogIPOneImageSampleConvolve SetGaussSample Method Cognex VisionPro 9.22 SR1
Configure both the X axis and Y axis kernels to perform Gaussian sampling at the specified sample rates. The X axis sigma will be approximately 0.5 * floor(SampleX), while the Y axis sigma will be approximately 0.5 * floor(SampleY). This method may modify any or all of SampleX, SampleY, KernelXSize, KernelYSize, as well as the actual kernel values returned by GetKernelXValue(...) or GetKernelYValue(...).

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

public void SetGaussSample(
	double SampleX,
	double SampleY
)

Parameters

SampleX
Type: System Double
The desired X axis sample rate.
SampleY
Type: System Double
The desired Y axis sample rate.
Events

Exceptions

ExceptionCondition
ArgumentExceptionIf SampleY is less than or equal to zero.
See Also