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)
34 itkSetMacro(T2ExcitationFlipAngle,
double)
36 void SetT2RelaxometrySignals(
std::vector <
double> & relaxoSignals) {m_T2RelaxometrySignals = relaxoSignals;}
37 void SetT2FlipAngles(std::vector <double> & flipAngles) {m_T2FlipAngles = flipAngles;}
39 itkSetMacro(T1Value,
double)
40 itkSetMacro(T2Value,
double)
41 itkSetMacro(B1Value,
double)
42 itkGetMacro(M0Value,
double)
44 unsigned
int GetNumberOfParameters() const ITK_OVERRIDE
65 void operator=(
const Self&);
67 double m_T2EchoSpacing;
68 std::vector <double> m_T2RelaxometrySignals;
70 double m_T2ExcitationFlipAngle;
71 std::vector <double> m_T2FlipAngles;
73 mutable double m_T1Value, m_T2Value, m_B1Value, m_M0Value;
std::vector< ComplexVectorType > MatrixType
T2EPGRelaxometryCostFunction()
itk::SingleValuedCostFunction Superclass
T2EPGRelaxometryCostFunction Self
std::vector< std::complex< double > > ComplexVectorType
Superclass::MeasureType MeasureType
virtual ~T2EPGRelaxometryCostFunction()
void SetT2FlipAngles(std::vector< double > &flipAngles)
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
Superclass::DerivativeType DerivativeType
Superclass::ParametersType ParametersType