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>
107 if ( !optimizer )
return;
120 std::cout <<
" No. Iterations: "
121 << optimizer->GetNumberOfIterations()
122 <<
" Learning rate: "
123 << optimizer->GetLearningRate()
SimpleMultiResolutionImageRegistrationUI2(TRegistration *ptr)
virtual ~SimpleMultiResolutionImageRegistrationUI2()
void SetNumberOfIterations(itk::Array< unsigned int > &iter)
Implement a gradient descent optimizer.
virtual void StartNewLevel()
void SetLearningRates(itk::Array< double > &rates)
TRegistrator::Pointer m_Registrator
itk::Array< double > m_LearningRates
SimpleMultiResolutionImageRegistrationUI(TRegistrator *ptr)
itk::Array< unsigned int > m_NumberOfIterations
SizeValueType Size(void) const
virtual void StartNewLevel()
SimpleMultiResolutionImageRegistrationUI< TRegistration > Superclass
virtual ~SimpleMultiResolutionImageRegistrationUI()