You are here: Start » FIL.NET » FIL.SmoothImage_Gauss
Smooths an image using a gaussian kernel.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void SmoothImage_Gauss ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, float inStdDevX, float? inStdDevY, float inKernelRelativeSize, FilNet.Image outImage, out int diagKernelRadiusX, out int diagKernelRadiusY )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of output pixels to be computed. Default value: ftl::NIL. | ||
![]() | inStdDevX | float | <0.0f, INF> | 1.0f | Horizontal smoothing standard deviation. Default value: 1.0f. |
![]() | inStdDevY | float? | <0.0f, INF> | Vertical smoothing standard deviation. Default value: ftl::NIL. | |
![]() | 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 | FilNet.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 is optimized for SSE41 technology for pixels of type: UINT16.
This operation is optimized for AVX2 technology for pixels of types: UINT8, SINT16, UINT16, REAL.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in SmoothImage_Gauss. |
Function Overrides
- SmoothImage_Gauss(Image, Single, Single, Image)
- SmoothImage_Gauss(Image, Single, Single, Image, Int32, Int32)
- SmoothImage_Gauss(Image, NullableRef<Region>, Single, Nullable<Single>, Single, Image)