go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRegularStepGradientDescent.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __elxRegularStepGradientDescent_h
16 #define __elxRegularStepGradientDescent_h
17 
18 #include "itkRegularStepGradientDescentOptimizer.h"
19 #include "elxIncludes.h"
20 
21 namespace elastix
22 {
23 
61  template <class TElastix>
63  public
64  itk::RegularStepGradientDescentOptimizer,
65  public
66  OptimizerBase<TElastix>
67  {
68  public:
69 
72  typedef RegularStepGradientDescentOptimizer Superclass1;
74  typedef itk::SmartPointer<Self> Pointer;
75  typedef itk::SmartPointer<const Self> ConstPointer;
76 
78  itkNewMacro( Self );
79 
81  itkTypeMacro( RegularStepGradientDescent, RegularStepGradientDescentOptimizer );
82 
87  elxClassNameMacro( "RegularStepGradientDescent" );
88 
90  typedef Superclass1::CostFunctionType CostFunctionType;
91  typedef Superclass1::CostFunctionPointer CostFunctionPointer;
92 
101 
103  typedef typename Superclass1::ParametersType ParametersType;
104 
107  virtual void BeforeRegistration(void);
108  virtual void BeforeEachResolution(void);
109  virtual void AfterEachResolution(void);
110  virtual void AfterEachIteration(void);
111  virtual void AfterRegistration(void);
112 
117  virtual void SetInitialPosition( const ParametersType & param );
118 
119 
120  protected:
121 
124 
125  private:
126 
127  RegularStepGradientDescent( const Self& ); // purposely not implemented
128  void operator=( const Self& ); // purposely not implemented
129 
130  }; // end class RegularStepGradientDescent
131 
132 
133 } // end namespace elastix
134 
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "elxRegularStepGradientDescent.hxx"
137 #endif
138 
139 #endif // end #ifndef __elxRegularStepGradientDescent_h
Superclass::RegistrationPointer RegistrationPointer
RegularStepGradientDescentOptimizer Superclass1
Superclass2::ConfigurationPointer ConfigurationPointer
This class is the elastix base class for all Optimizers.
virtual void AfterEachResolution(void)
itk::SmartPointer< const Self > ConstPointer
Superclass::ElastixType ElastixType
An optimizer based on gradient descent...
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::ElastixPointer ElastixPointer
virtual void SetInitialPosition(const ParametersType &param)
Superclass::ConfigurationType ConfigurationType
Superclass1::CostFunctionPointer CostFunctionPointer
elxClassNameMacro("RegularStepGradientDescent")
itk::Optimizer ITKBaseType
virtual void BeforeRegistration(void)
Superclass2::RegistrationPointer RegistrationPointer
Superclass::RegistrationType RegistrationType
virtual void AfterRegistration(void)
Superclass2::RegistrationType RegistrationType
Superclass1::CostFunctionType CostFunctionType
Superclass2::ConfigurationType ConfigurationType
virtual void BeforeEachResolution(void)
virtual void AfterEachIteration(void)


Generated on 05-01-2014 for elastix by doxygen 1.8.5 elastix logo