You are here: Start » FIL.NET » Function Reference » Image » Image Local Transforms » FIL.DifferenceOfGaussians

FIL.DifferenceOfGaussians

Applies difference of Gaussians on an image, i.e. computes difference of two Gaussian smoothed images.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void DifferenceOfGaussians
(
	FilNet.Image inImage,
	NullableRef<FilNet.Region> inRoi,
	float inStdDev,
	float inStdDevRatio,
	float inKernelRelativeSize,
	float inScale,
	FilNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageFilNet.ImageInput image.
inRoiFilNet.NullableRef<FilNet.Region>Range of output pixels to be computed. Default value: ftl::NIL.
inStdDevfloat<0.0f, INF>3.0fSmoothing standard deviation for the smaller kernel. Default value: 3.0f.
inStdDevRatiofloat<1.0f, INF>1.6fDefines how many times larger is the second kernel. Default value: 1.6f.
inKernelRelativeSizefloat<0.0f, 3.0f>3.0fA multiple of the standard deviation determining the size of the kernel. Default value: 3.0f.
inScalefloat1.0fOutput image scaling factor. Default value: 1.0f.
outImageFilNet.ImageOutput image.

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 DifferenceOfGaussians.

Function Overrides

See also