DGtal
1.5.beta
|
Aim: implement a Gaussian centered convolution kernel. More...
#include <DGtal/geometry/surfaces/estimation/BasicConvolutionWeights.h>
Public Types | |
typedef TDistance | Distance |
Inner type for the topological distance. More... | |
Public Member Functions | |
GaussianConvolutionWeights (const double sigma) | |
double | operator() (const Distance &aDisplacment) const |
Data Fields | |
double | mySigma |
Internal Sigma value;. More... | |
double | myCoef |
Precomputed constant coefs. More... | |
double | myCoef2 |
Aim: implement a Gaussian centered convolution kernel.
Description of template class 'GaussianConvolutionWeights'
TDistance | type for topological distances. |
Definition at line 99 of file BasicConvolutionWeights.h.
typedef TDistance DGtal::deprecated::GaussianConvolutionWeights< TDistance >::Distance |
Inner type for the topological distance.
Definition at line 105 of file BasicConvolutionWeights.h.
|
inline |
Constructor
sigma | Gaussian sigma parameter. |
Definition at line 112 of file BasicConvolutionWeights.h.
References DGtal::deprecated::GaussianConvolutionWeights< TDistance >::myCoef, DGtal::deprecated::GaussianConvolutionWeights< TDistance >::myCoef2, and DGtal::deprecated::GaussianConvolutionWeights< TDistance >::mySigma.
|
inline |
Return a Gaussian weight from a distance to the gaussian function center.
aDisplacment | distance to the center |
Definition at line 126 of file BasicConvolutionWeights.h.
References DGtal::deprecated::GaussianConvolutionWeights< TDistance >::myCoef, and DGtal::deprecated::GaussianConvolutionWeights< TDistance >::myCoef2.
double DGtal::deprecated::GaussianConvolutionWeights< TDistance >::myCoef |
Precomputed constant coefs.
Definition at line 136 of file BasicConvolutionWeights.h.
Referenced by DGtal::deprecated::GaussianConvolutionWeights< TDistance >::GaussianConvolutionWeights(), and DGtal::deprecated::GaussianConvolutionWeights< TDistance >::operator()().
double DGtal::deprecated::GaussianConvolutionWeights< TDistance >::myCoef2 |
Definition at line 137 of file BasicConvolutionWeights.h.
Referenced by DGtal::deprecated::GaussianConvolutionWeights< TDistance >::GaussianConvolutionWeights(), and DGtal::deprecated::GaussianConvolutionWeights< TDistance >::operator()().
double DGtal::deprecated::GaussianConvolutionWeights< TDistance >::mySigma |
Internal Sigma value;.
Definition at line 133 of file BasicConvolutionWeights.h.
Referenced by DGtal::deprecated::GaussianConvolutionWeights< TDistance >::GaussianConvolutionWeights().