42 #ifndef SVK_MRS_FIRST_POINT_PHASE_COST_FUNCTION_H
43 #define SVK_MRS_FIRST_POINT_PHASE_COST_FUNCTION_H
80 double phi0 = parameters[0];
82 double intensity = FLT_MIN;
87 this->copySpectrum->GetTupleValue(0, cmplxPt);
113 this->copySpectrum->DeepCopy(this->spectrum);
114 cost = GetFirstPointPhaseValue0( parameters );
135 #endif// SVK_MRS_FIRST_POINT_PHASE_COST_FUNCTION_H
svkPhaseCostFunction Superclass
Definition: svkMRSFirstPointPhaseCostFunction.h:59
itk::SmartPointer< const Self > ConstPointer
Definition: svkMRSFirstPointPhaseCostFunction.h:61
Definition: svkPhaseCostFunction.h:64
Superclass::MeasureType MeasureType
Definition: svkPhaseCostFunction.h:79
itk::SmartPointer< Self > Pointer
Definition: svkMRSFirstPointPhaseCostFunction.h:60
svkMRSFirstPointPhaseCostFunction()
Definition: svkMRSFirstPointPhaseCostFunction.h:68
virtual unsigned int GetNumberOfParameters(void) const
Definition: svkMRSFirstPointPhaseCostFunction.h:125
MeasureType GetFirstPointPhaseValue0(const ParametersType ¶meters) const
Definition: svkMRSFirstPointPhaseCostFunction.h:75
Definition: svkMRSFirstPointPhaseCostFunction.h:53
static void ZeroOrderPhase(float phi0, float *cmplxPt)
Definition: svkPhaseSpec.cc:339
virtual MeasureType GetValue(const ParametersType ¶meters) const
Definition: svkMRSFirstPointPhaseCostFunction.h:106
Superclass::ParametersType ParametersType
Definition: svkPhaseCostFunction.h:77
svkMRSFirstPointPhaseCostFunction Self
Definition: svkMRSFirstPointPhaseCostFunction.h:58