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;
273 #ifndef ITK_MANUAL_INSTANTIATION
274 #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
void operator=(const Self &)
MetricType::MeasureType MeasureType
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
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
bool m_WeightsAreIdentity
virtual ~ObjectToObjectOptimizerBaseTemplate()
MetricTypePointer m_Metric
unsigned int NumberOfParametersType
bool GetScalesInitialized(void) const
SizeValueType m_NumberOfIterations
SmartPointer< Self > Pointer
MeasureType m_CurrentMetricValue
MetricType::NumberOfParametersType NumberOfParametersType
ObjectToObjectOptimizerBaseTemplate< double > ObjectToObjectOptimizerBase
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
unsigned int ThreadIdType