3 #include <itkMultipleValuedCostFunction.h> 5 #include <AnimaMCMBaseExport.h> 31 itkSetMacro(InternalCost, InternalCostPointer)
32 itkGetConstReferenceMacro(InternalCost, InternalCostPointer)
34 virtual MeasureType GetValue(const ParametersType ¶meters) const ITK_OVERRIDE;
35 virtual
void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const ITK_OVERRIDE;
37 double GetSigmaSquare();
39 InternalCostType::MCMPointer &GetMCMStructure() {
return m_InternalCost->
GetMCMStructure();}
41 unsigned int GetNumberOfParameters()
const ITK_OVERRIDE;
42 unsigned int GetNumberOfValues()
const ITK_OVERRIDE;
47 m_InternalCost = ITK_NULLPTR;
54 void operator=(
const Self&);
InternalCostType::Pointer InternalCostPointer
Superclass::ParametersType ParametersType
itk::MultipleValuedCostFunction Superclass
itk::SmartPointer< const Self > ConstPointer
Superclass::DerivativeType DerivativeType
MCMMultipleValuedCostFunction()
MCMPointer & GetMCMStructure()
virtual ~MCMMultipleValuedCostFunction() ITK_OVERRIDE
MCMMultipleValuedCostFunction Self
Superclass::MeasureType MeasureType
itk::SmartPointer< Self > Pointer
Base cost function class to handle maximum likelihood estimation.