31#if defined(BasicConvolutionWeights_RECURSES)
32#error Recursive header files inclusion detected in BasicConvolutionWeights.h
35#define BasicConvolutionWeights_RECURSES
37#if !defined BasicConvolutionWeights_h
39#define BasicConvolutionWeights_h
44#include "DGtal/base/Common.h"
45#include "DGtal/kernel/NumberTraits.h"
66 template <
typename TDistance>
98 template <
typename TDistance>
149#undef BasicConvolutionWeights_RECURSES
Aim: implement a trivial constant convolution kernel which returns 1 to each distance.
TDistance Distance
Inner type.
double operator()(const Distance &) const
Aim: implement a Gaussian centered convolution kernel.
double myCoef
Precomputed constant coefs.
double mySigma
Internal Sigma value;.
TDistance Distance
Inner type for the topological distance.
double operator()(const Distance &aDisplacment) const
GaussianConvolutionWeights(const double sigma)
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: The traits class for all models of Cinteger.