go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxFiniteDifferenceGradientDescent.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxFiniteDifferenceGradientDescent_h
19 #define __elxFiniteDifferenceGradientDescent_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
79 template< class TElastix >
81  public
83  public
84  OptimizerBase< TElastix >
85 {
86 public:
87 
92  typedef itk::SmartPointer< Self > Pointer;
93  typedef itk::SmartPointer< const Self > ConstPointer;
94 
96  itkNewMacro( Self );
97 
100 
105  elxClassNameMacro( "FiniteDifferenceGradientDescent" );
106 
109  typedef Superclass1::CostFunctionPointer CostFunctionPointer;
111 
120 
123 
125  void BeforeRegistration( void ) override;
126 
127  void BeforeEachResolution( void ) override;
128 
129  void AfterEachResolution( void ) override;
130 
131  void AfterEachIteration( void ) override;
132 
133  void AfterRegistration( void ) override;
134 
137  void StartOptimization( void ) override;
138 
139 protected:
140 
143 
145 
146 private:
147 
148  FiniteDifferenceGradientDescent( const Self & ); // purposely not implemented
149  void operator=( const Self & ); // purposely not implemented
150 
151 };
152 
153 } // end namespace elastix
154 
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "elxFiniteDifferenceGradientDescent.hxx"
157 #endif
158 
159 #endif // end #ifndef __elxFiniteDifferenceGradientDescent_h
A class that deals with user given parameters and command line arguments.
An optimizer based on the itk::FiniteDifferenceGradientDescentOptimizer.
FiniteDifferenceGradientDescentOptimizer Superclass1
elxClassNameMacro("FiniteDifferenceGradientDescent")
This class is the elastix base class for all Optimizers.
Superclass::ConfigurationPointer ConfigurationPointer
itk::Optimizer ITKBaseType
Superclass::ElastixType ElastixType
Superclass::ElastixPointer ElastixPointer
Superclass::RegistrationPointer RegistrationPointer
Superclass::RegistrationType RegistrationType


Generated on 1652341256 for elastix by doxygen 1.9.1 elastix logo