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 );
216 #ifndef ITK_MANUAL_INSTANTIATION
217 #include "itkObjectToObjectMetricBase.hxx"
virtual void GetValueAndDerivative(MeasureType &value, DerivativeType &derivative) const =0
virtual NumberOfParametersType GetNumberOfParameters() const =0
Array< TInternalComputationValueType > DerivativeType
Superclass::ParametersType ParametersType
Superclass::MeasureType MeasureType
Light weight base class for most itk classes.
SingleValuedCostFunctionv4Template< TInternalComputationValueType > Superclass
ObjectToObjectMetricBaseTemplate< double > ObjectToObjectMetricBase
virtual void Initialize(void)=0
TInternalComputationValueType MeasureType
virtual MeasureType GetValue() const =0
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 MetricCategoryType GetMetricCategory() const
void operator=(const Self &)
MeasureType GetCurrentValue() const
virtual void SetParameters(ParametersType ¶ms)=0
unsigned int NumberOfParametersType
Superclass::ParametersType ParametersType
virtual bool HasLocalSupport() const =0
TInternalComputationValueType ParametersValueType
Standard exception handling object.
ObjectType::ConstPointer ObjectConstPointer
bool GetGradientSourceIncludesFixed() const
DerivativeType::ValueType DerivativeValueType
ObjectToObjectMetricBaseTemplate Self
SmartPointer< Self > Pointer
void PrintSelf(std::ostream &os, Indent indent) const
ObjectConstPointer m_FixedObject
This class is a base for a CostFunction that returns a single value.
virtual NumberOfParametersType GetNumberOfLocalParameters() const =0
ObjectToObjectMetricBaseTemplate()
SmartPointer< const Self > ConstPointer
Control indentation during Print() invocation.
bool GetGradientSourceIncludesMoving() const
virtual void UpdateTransformParameters(const DerivativeType &derivative, ParametersValueType factor=NumericTraits< ParametersValueType >::One)=0
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