3 #include <itkSingleValuedCostFunction.h> 4 #include "AnimaRelaxometryExport.h" 14 public itk::SingleValuedCostFunction
34 virtual MeasureType GetValue(
const ParametersType & parameters)
const ITK_OVERRIDE;
35 virtual void GetDerivative(
const ParametersType & parameters, DerivativeType & derivative)
const ITK_OVERRIDE {}
37 itkSetMacro(EchoSpacing,
double)
38 itkSetMacro(ExcitationFlipAngle,
double)
40 void SetT2RelaxometrySignals(ParametersType &relaxoSignals) {m_T2RelaxometrySignals = relaxoSignals;}
41 void SetT2FlipAngles(std::vector <double> & flipAngles) {m_T2FlipAngles = flipAngles;}
43 itkSetMacro(T1Value,
double)
44 itkSetMacro(M0Value,
double)
46 void SetT2Values(
std::vector <
double> &values) {m_T2Values = values;}
67 void operator=(
const Self&);
72 double m_ExcitationFlipAngle;
73 std::vector <double> m_T2FlipAngles;
75 std::vector <double> m_T2Values;
78 double m_T1Value, m_M0Value;
itk::SmartPointer< Self > Pointer
unsigned int GetNumberOfParameters() const ITK_OVERRIDE
void SetT2FlipAngles(std::vector< double > &flipAngles)
itk::SingleValuedCostFunction Superclass
itk::SmartPointer< const Self > ConstPointer
Cost function for estimating B1 from T2 relaxometry acquisition, following a multi-T2 EPG decay model...
MultiT2EPGRelaxometryCostFunction()
Superclass::DerivativeType DerivativeType
std::vector< ComplexVectorType > MatrixType
std::vector< std::complex< double > > ComplexVectorType
virtual void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const ITK_OVERRIDE
Superclass::ParametersType ParametersType
MultiT2EPGRelaxometryCostFunction Self
void SetT2Weights(ParametersType &weights)
virtual ~MultiT2EPGRelaxometryCostFunction()
Superclass::MeasureType MeasureType