Back to Adaptive Vision Library website

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

DifferenceOfGaussians


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

Syntax

C++
C#
 
void avl::DifferenceOfGaussians
(
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	float inStdDev,
	float inStdDevRatio,
	float inKernelRelativeSize,
	float inScale,
	avl::Image& outImage,
	avl::Profile& diagKernelShape
)

Parameters

Name Type Range Default Description
inImage const Image& Input image
inRoi Optional<const Region&> NIL Range of output pixels to be computed
inStdDev float 0.0 - 3.0f Smoothing standard deviation for the smaller kernel
inStdDevRatio float 1.0 - 1.6f Defines how many times larger is the second kernel
inKernelRelativeSize float 0.0 - 3.0 3.0f A multiple of the standard deviation determining the size of the kernel
inScale float 1.0f Output image scaling factor
outImage Image& Output image
diagKernelShape Profile& Middle row of the kernel being used

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.