11 itkExceptionMacro(
"Internal variable projection cost required to get number of parameters");
13 return m_InternalCost->GetNumberOfParameters();
21 itkExceptionMacro(
"Internal variable projection cost required to compute cost value");
24 m_InternalCost->GetValues(parameters);
26 return m_InternalCost->GetCurrentCostValue();
34 itkExceptionMacro(
"Internal variable projection cost required to compute cost derivatives");
37 m_InternalCost->GetDerivativeMatrix(parameters,derivativeMatrix);
39 m_InternalCost->GetCurrentDerivative(derivativeMatrix,derivative);
46 return m_InternalCost->GetSigmaSquare();
49 std::vector <double> &
53 return m_InternalCost->GetOptimalWeights();
virtual MeasureType GetValue(const ParametersType ¶meters) const ITK_OVERRIDE
unsigned int GetNumberOfParameters() const ITK_OVERRIDE
std::vector< double > & GetOptimalWeights()
virtual void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const ITK_OVERRIDE
Superclass::MeasureType MeasureType
Superclass::DerivativeType DerivativeType
itk::Array2D< double > DerivativeMatrixType
Superclass::ParametersType ParametersType