31 #if defined(BasicConvolutionWeights_RECURSES) 32 #error Recursive header files inclusion detected in BasicConvolutionWeights.h 33 #else // defined(BasicConvolutionWeights_RECURSES) 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>
147 #endif // !defined BasicConvolutionWeights_h 149 #undef BasicConvolutionWeights_RECURSES 150 #endif // else defined(BasicConvolutionWeights_RECURSES) double mySigma
Internal Sigma value;.
TDistance Distance
Inner type for the topological distance.
double operator()(const Distance &) const
double myCoef
Precomputed constant coefs.
double operator()(const Distance &aDisplacment) const
Aim: The traits class for all models of Cinteger.
DGtal is the top-level namespace which contains all DGtal functions and types.
Aim: implement a trivial constant convolution kernel which returns 1 to each distance.
TDistance Distance
Inner type.
Aim: implement a Gaussian centered convolution kernel.
GaussianConvolutionWeights(const double sigma)