ANIMA  4.0
animaWatsonDistribution.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <vnl/vnl_vector_fixed.h>
4 #include <itkPoint.h>
5 #include <itkVector.h>
6 
7 namespace anima
8 {
9 
10  template <class VectorType, class ScalarType>
11  double EvaluateWatsonPDF(const VectorType &v, const VectorType &meanAxis, const ScalarType &kappa);
12 
13  template <class ScalarType>
14  double EvaluateWatsonPDF(const vnl_vector_fixed <ScalarType,3> &v, const vnl_vector_fixed <ScalarType,3> &meanAxis, const ScalarType &kappa);
15 
16  template <class ScalarType>
17  double EvaluateWatsonPDF(const itk::Point <ScalarType,3> &v, const itk::Point <ScalarType,3> &meanAxis, const ScalarType &kappa);
18 
19  template <class ScalarType>
20  double EvaluateWatsonPDF(const itk::Vector <ScalarType,3> &v, const itk::Vector <ScalarType,3> &meanAxis, const ScalarType &kappa);
21 
22  template <class ScalarType>
23  void GetStandardWatsonSHCoefficients(const ScalarType k, std::vector<ScalarType> &coefficients, std::vector<ScalarType> &derivatives);
24 
25 } // end of namespace anima
26 
double EvaluateWatsonPDF(const VectorType &v, const VectorType &meanAxis, const ScalarType &kappa)
void GetStandardWatsonSHCoefficients(const ScalarType k, std::vector< ScalarType > &coefficients, std::vector< ScalarType > &derivatives)