21 #ifndef MIRTK_ScalarGaussian_H 22 #define MIRTK_ScalarGaussian_H 24 #include "mirtk/ScalarFunction.h" 25 #include "mirtk/Vector4D.h" 65 double,
double,
double);
69 double,
double,
double,
double);
78 virtual double Evaluate(
double,
double);
81 virtual double Evaluate(
double,
double,
double);
84 virtual double Evaluate(
double,
double,
double,
double);
90 #endif // MIRTK_ScalarGaussian_H double _Norm[4]
Normalization of ND Gaussian function.
virtual ~ScalarGaussian()
Destructor.
ScalarGaussian()
Construct Gaussian with isotropic sigma of 1 and center at origin.
void ComputeNorm()
Pre-compute normalization factor(s)
Vector4D< double > _Center
Center of Gaussian.
virtual double Evaluate(double)
Evaluate 1D Gaussian.
Vector4D< double > _Variance
Variance of the Gaussian.