You are here: Start » AVL.NET » AVL.SmoothImage_Gauss
Smooths an image using a gaussian kernel.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void SmoothImage_Gauss ( AvlNet.Image inImage, float inStdDevX, float inKernelRelativeSize, out AvlNet.Image outImage, out int diagKernelRadiusX, out int diagKernelRadiusY )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inStdDevX | float | <0.0f, INF> | 1.0f | Horizontal smoothing standard deviation. Default value: 1.0f. |
![]() | inKernelRelativeSize | float | <0.0f, 3.0f> | 2.0f | A multiple of the standard deviation determining the size of the kernel. Default value: 2.0f. |
![]() | outImage | AvlNet.Image | Output image. | ||
![]() | diagKernelRadiusX | int | Horizontal radius of Gaussian kernel being used. | ||
![]() | diagKernelRadiusY | int | Vertical radius of Gaussian kernel being used. |
Examples
![]() |
![]() |
SmoothImage_Gauss performed on a sample image with inStdDevX = 3.0.
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: UINT8, SINT16, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.