Difference of Gaussians. More...

Functions

AFAPI array dog (const array &in, const int radius1, const int radius2)
 C++ Interface wrapper for Difference of Gaussians. More...
 
AFAPI af_err af_dog (af_array *out, const af_array in, const int radius1, const int radius2)
 C Interface wrapper for Difference of Gaussians. More...
 

Detailed Description

Difference of Gaussians.

Given an image, this function computes two different versions of smoothed input image using the difference smoothing parameters and subtracts one from the other and returns the result.


Function Documentation

◆ af_dog()

AFAPI af_err af_dog ( af_array out,
const af_array  in,
const int  radius1,
const int  radius2 
)

C Interface wrapper for Difference of Gaussians.

Parameters
[out]outis difference of smoothed inputs
[in]inis input image
[in]radius1is the radius of first gaussian kernel
[in]radius2is the radius of second gaussian kernel
Returns
AF_SUCCESS if the computation is is successful, otherwise an appropriate error code is returned.

◆ dog()

AFAPI array af::dog ( const array in,
const int  radius1,
const int  radius2 
)

C++ Interface wrapper for Difference of Gaussians.

Parameters
[in]inis input image
[in]radius1is the radius of first gaussian kernel
[in]radius2is the radius of second gaussian kernel
Returns
Difference of smoothed inputs