Start » Filter Reference » Image » Image Local Transforms » DifferenceOfGaussians

DifferenceOfGaussians


Module: FoundationBasic

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

Applications

Emphasizes high-frequency image features such as lines or patches / dots.
Name Type Range Description
Input value
inImage Image Input image
Input value
inRoi Region* Range of output pixels to be computed
Input value
inStdDev Real 0.0 - Smoothing standard deviation for the smaller kernel
Input value
inStdDevRatio Real 1.0 - Defines how many times larger is the second kernel
Input value
inKernelRelativeSize Real 0.0 - 3.0 A multiple of the standard deviation determining the size of the kernel
Input value
inScale Real Output image scaling factor
Output value
outImage Image Output image
Diagnostic input
diagKernelShape Profile Middle row of the kernel being used

Examples

Description of usage of this filter can be found in examples and tutorial: Pins.

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.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in DifferenceOfGaussians.

Complexity Level

This filter is available on Advanced Complexity Level.