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.ImageProcessingAssembly: Cognex.VisionPro.ImageProcessing (in Cognex.VisionPro.ImageProcessing.dll) Version: 93.1.0.0
Syntax
Parameters
- SampleX
- Type: System Double
The desired X axis sample rate.
- SampleY
- Type: System Double
The desired Y axis sample rate.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when the state of this object changes. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | If SampleY is less than or equal to zero. |
See Also