3 #include <itkSingleValuedCostFunction.h> 4 #include "AnimaRelaxometryExport.h" 10 public itk::SingleValuedCostFunction
30 virtual MeasureType GetValue(const ParametersType & parameters) const ITK_OVERRIDE;
31 virtual
void GetDerivative(const ParametersType & parameters, DerivativeType & derivative) const ITK_OVERRIDE {}
33 itkSetMacro(T2EchoSpacing,
double)
35 void SetT2RelaxometrySignals(
std::vector <
double> & relaxoSignals) {m_T2RelaxometrySignals = relaxoSignals;}
37 itkSetMacro(T1Value,
double)
38 itkSetMacro(T2Value,
double)
39 itkSetMacro(TRValue,
double)
40 itkGetMacro(M0Value,
double)
42 unsigned
int GetNumberOfParameters() const ITK_OVERRIDE
63 void operator=(
const Self&);
65 double m_T2EchoSpacing;
66 std::vector <double> m_T2RelaxometrySignals;
69 mutable double m_T1Value, m_T2Value, m_M0Value;
virtual ~T2RelaxometryCostFunction()
Superclass::DerivativeType DerivativeType
std::vector< ComplexVectorType > MatrixType
itk::SingleValuedCostFunction Superclass
T2RelaxometryCostFunction Self
itk::SmartPointer< const Self > ConstPointer
Superclass::MeasureType MeasureType
std::vector< std::complex< double > > ComplexVectorType
T2RelaxometryCostFunction()
Superclass::ParametersType ParametersType
itk::SmartPointer< Self > Pointer