18 #ifndef itkSimpleMultiResolutionImageRegistrationUI_h
19 #define itkSimpleMultiResolutionImageRegistrationUI_h
29 template <
typename TRegistrator>
43 iterationCommand->SetCallbackFunction(
this,
57 std::cout <<
"--- Starting level " <<
m_Registrator->GetCurrentLevel()
72 template <
typename TRegistration>
106 if ( !optimizer )
return;
119 std::cout <<
" No. Iterations: "
120 << optimizer->GetNumberOfIterations()
121 <<
" Learning rate: "
122 << optimizer->GetLearningRate()
SimpleMultiResolutionImageRegistrationUI2(TRegistration *ptr)
void SetNumberOfIterations(itk::Array< unsigned int > &iter)
Implement a gradient descent optimizer.
void SetLearningRates(itk::Array< double > &rates)
TRegistrator::Pointer m_Registrator
~SimpleMultiResolutionImageRegistrationUI2() override=default
itk::Array< double > m_LearningRates
SimpleMultiResolutionImageRegistrationUI(TRegistrator *ptr)
void StartNewLevel() override
SizeValueType Size() const
itk::Array< unsigned int > m_NumberOfIterations
virtual void StartNewLevel()
Templated n-dimensional image class.
virtual ~SimpleMultiResolutionImageRegistrationUI()