ANIMA  4.0
animaODFMaximaCostFunction.cxx
Go to the documentation of this file.
3 
4 namespace anima
5 {
6 
8 {
9  anima::ODFSphericalHarmonicBasis shBasis(m_ODFSHOrder);
10  double p0 = parameters[0];
11  double p1 = parameters[1];
12  return shBasis.getValueAtPosition(m_BasisParameters, p0, p1);
13 }
14 
15 void ODFMaximaCostFunction::GetDerivative( const ParametersType & parameters, DerivativeType & derivative ) const
16 {
17  // Purposedly not implemented
18 }
19 
20 } // end of namespace anima
virtual MeasureType GetValue(const ParametersType &parameters) const ITK_OVERRIDE
Superclass::DerivativeType DerivativeType
Superclass::ParametersType ParametersType
double getValueAtPosition(const T &coefficients, double theta, double phi)
virtual void GetDerivative(const ParametersType &parameters, DerivativeType &derivative) const ITK_OVERRIDE