18 #ifndef itkObjectToObjectMetricBase_h
19 #define itkObjectToObjectMetricBase_h
49 template<
typename TInternalComputationValueType=
double>
82 itkSetConstObjectMacro( FixedObject,
ObjectType );
83 itkGetConstObjectMacro( FixedObject,
ObjectType );
87 itkSetConstObjectMacro( MovingObject,
ObjectType );
88 itkGetConstObjectMacro( MovingObject,
ObjectType );
208 void operator=(const
Self &) ITK_DELETE_FUNCTION;
216 #ifndef ITK_MANUAL_INSTANTIATION
217 #include "itkObjectToObjectMetricBase.hxx"
Array< TInternalComputationValueType > DerivativeType
Superclass::ParametersType ParametersType
Superclass::MeasureType MeasureType
Light weight base class for most itk classes.
SingleValuedCostFunctionv4Template< TInternalComputationValueType > Superclass
virtual void Initialize(void)=0
TInternalComputationValueType MeasureType
GradientSourceType m_GradientSource
TInternalComputationValueType ParametersValueType
ObjectConstPointer m_MovingObject
Base class for all object-to-object similarlity metrics added in ITKv4.
TInternalComputationValueType CoordinateRepresentationType
virtual void GetDerivative(DerivativeType &) const =0
virtual void UpdateTransformParameters(const DerivativeType &derivative, ParametersValueType factor=NumericTraits< ParametersValueType >::OneValue())=0
virtual MetricCategoryType GetMetricCategory() const
MeasureType GetCurrentValue() const
virtual void SetParameters(ParametersType ¶ms)=0
unsigned int NumberOfParametersType
Superclass::ParametersType ParametersType
Class to hold and manage different parameter types used during optimization.
virtual bool HasLocalSupport() const =0
TParametersValueType ParametersValueType
Standard exception handling object.
virtual MeasureType GetValue() const override=0
ObjectType::ConstPointer ObjectConstPointer
void PrintSelf(std::ostream &os, Indent indent) const override
bool GetGradientSourceIncludesFixed() const
DerivativeType::ValueType DerivativeValueType
ObjectToObjectMetricBaseTemplate Self
SmartPointer< Self > Pointer
virtual NumberOfParametersType GetNumberOfParameters() const override=0
ObjectConstPointer m_FixedObject
This class is a base for a CostFunction that returns a single value.
virtual NumberOfParametersType GetNumberOfLocalParameters() const =0
ObjectToObjectMetricBaseTemplate()
virtual void GetValueAndDerivative(MeasureType &value, DerivativeType &derivative) const override=0
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
bool GetGradientSourceIncludesMoving() const
Superclass::DerivativeType DerivativeType
Define additional traits for native types such as int or float.
virtual ~ObjectToObjectMetricBaseTemplate()
Base class for most ITK classes.
virtual const ParametersType & GetParameters() const =0