ITK
5.2.0
Insight Toolkit
ITK
Modules
Numerics
Optimizers
include
itkVersorTransformOptimizer.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright NumFOCUS
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 itkVersorTransformOptimizer_h
19
#define itkVersorTransformOptimizer_h
20
21
#include "
itkRegularStepGradientDescentOptimizer.h
"
22
#include "
itkVersor.h
"
23
#include "ITKOptimizersExport.h"
24
25
namespace
itk
26
{
52
class
ITKOptimizers_EXPORT
VersorTransformOptimizer
:
public
RegularStepGradientDescentBaseOptimizer
53
{
54
public
:
55
ITK_DISALLOW_COPY_AND_MOVE(
VersorTransformOptimizer
);
56
58
using
Self
=
VersorTransformOptimizer
;
59
using
Superclass
=
RegularStepGradientDescentBaseOptimizer
;
60
using
Pointer
=
SmartPointer<Self>
;
61
using
ConstPointer
=
SmartPointer<const Self>
;
62
64
itkNewMacro(
Self
);
65
67
itkTypeMacro(
VersorTransformOptimizer
,
RegularStepGradientDescentBaseOptimizer
);
68
70
using
VersorType
=
Versor<double>
;
71
using
VectorType
=
VersorType::VectorType
;
72
74
void
75
StepAlongGradient(
double
factor,
const
DerivativeType
& transformedGradient)
override
;
76
77
protected
:
78
VersorTransformOptimizer
() =
default
;
79
~
VersorTransformOptimizer
()
override
=
default
;
80
};
81
}
// end namespace itk
82
83
#endif
itk::RegularStepGradientDescentBaseOptimizer
Implement a gradient descent optimizer.
Definition:
itkRegularStepGradientDescentBaseOptimizer.h:58
itk::VersorTransformOptimizer
Implement a gradient descent optimizer.
Definition:
itkVersorTransformOptimizer.h:52
itkRegularStepGradientDescentOptimizer.h
itk::GTest::TypedefsAndConstructors::Dimension2::VectorType
ImageBaseType::SpacingType VectorType
Definition:
itkGTestTypedefsAndConstructors.h:53
itk::Vector
A templated class holding a n-Dimensional vector.
Definition:
itkVector.h:62
itk::SmartPointer< Self >
itk::Versor
A templated class holding a unit quaternion.
Definition:
itkVersor.h:50
itk::LightObject
Light weight base class for most itk classes.
Definition:
itkLightObject.h:59
itkVersor.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition:
itkAnnulusOperator.h:24
itk::Array
Array class with size defined at construction time.
Definition:
itkArray.h:47
Generated on Thu Apr 1 2021 02:08:14 for ITK by
1.8.16