You are here: Start » AVL.NET » Function Reference » Image » Image Local Transforms » AVL.SmoothImage_Gauss

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,
	NullableRef<AvlNet.Region> inRoi,
	float inStdDevX,
	float? inStdDevY,
	float inKernelRelativeSize,
	AvlNet.Image outImage,
	out int diagKernelRadiusX,
	out int diagKernelRadiusY
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inRoiAvlNet.NullableRef<AvlNet.Region>Range of output pixels to be computed. Default value: atl::NIL.
inStdDevXfloat<0.0f, INF>1.0fHorizontal smoothing standard deviation. Default value: 1.0f.
inStdDevYfloat?<0.0f, INF>Vertical smoothing standard deviation. Default value: atl::NIL.
inKernelRelativeSizefloat<0.0f, 3.0f>2.0fA multiple of the standard deviation determining the size of the kernel. Default value: 2.0f.
outImageAvlNet.ImageOutput image.
diagKernelRadiusXintHorizontal radius of Gaussian kernel being used.
diagKernelRadiusYintVertical 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

See also