18 #ifndef itkObjectToObjectOptimizerBase_h
19 #define itkObjectToObjectOptimizerBase_h
79 template<
typename TInternalComputationValueType =
double>
120 itkGetModifiableObjectMacro(Metric,
MetricType );
126 itkGetConstReferenceMacro( CurrentMetricValue,
MeasureType );
144 itkGetConstReferenceMacro( Scales,
ScalesType );
147 itkGetConstReferenceMacro( ScalesAreIdentity,
bool );
154 itkGetConstReferenceMacro( Weights,
ScalesType );
157 itkGetConstReferenceMacro( WeightsAreIdentity,
bool );
179 itkSetMacro(DoEstimateScales,
bool);
180 itkGetConstReferenceMacro(DoEstimateScales,
bool);
181 itkBooleanMacro(DoEstimateScales);
190 itkGetConstReferenceMacro( NumberOfThreads,
ThreadIdType );
257 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
261 void operator=( const
Self& ) ITK_DELETE_FUNCTION;
270 #ifndef ITK_MANUAL_INSTANTIATION
271 #include "itkObjectToObjectOptimizerBase.hxx"
virtual void StartOptimization(bool doOnlyInitialization=false)
OptimizerParameters< TInternalComputationValueType > ScalesType
Superclass::MeasureType MeasureType
Light weight base class for most itk classes.
ThreadIdType m_NumberOfThreads
OptimizerParameters< TInternalComputationValueType > ParametersType
ScalesEstimatorType::Pointer m_ScalesEstimator
MetricType::DerivativeType DerivativeType
MetricType::MeasureType MeasureType
bool GetScalesInitialized() const
Base class for all object-to-object similarlity metrics added in ITKv4.
unsigned long SizeValueType
ObjectToObjectMetricBaseTemplate< TInternalComputationValueType > MetricType
OptimizerParameterScalesEstimatorTemplate< TInternalComputationValueType > ScalesEstimatorType
OptimizerParameterScalesEstimatorTemplate is the base class offering a empty method of estimating the...
SmartPointer< const Self > ConstPointer
std::ostringstream StopConditionDescriptionType
virtual const MeasureType & GetValue() const
virtual const ParametersType & GetCurrentPosition() const
ObjectToObjectOptimizerBaseTemplate Self
virtual void PrintSelf(std::ostream &os, Indent indent) const override
bool m_WeightsAreIdentity
virtual ~ObjectToObjectOptimizerBaseTemplate()
MetricTypePointer m_Metric
unsigned int NumberOfParametersType
SizeValueType m_NumberOfIterations
SmartPointer< Self > Pointer
MeasureType m_CurrentMetricValue
unsigned int ThreadIdType
MetricType::NumberOfParametersType NumberOfParametersType
Control indentation during Print() invocation.
SizeValueType m_CurrentIteration
Superclass::DerivativeType DerivativeType
virtual void SetNumberOfThreads(ThreadIdType number)
std::string StopConditionReturnStringType
Base class for most ITK classes.
ObjectToObjectOptimizerBaseTemplate()
Abstract base for object-to-object optimizers.
virtual void SetScales(const ScalesType &scales)
MetricType::Pointer MetricTypePointer
virtual const StopConditionReturnStringType GetStopConditionDescription() const =0