ITK
5.2.0
Insight Toolkit
ITK
Modules
Numerics
Optimizers
include
itkVersorRigid3DTransformOptimizer.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 itkVersorRigid3DTransformOptimizer_h
19
#define itkVersorRigid3DTransformOptimizer_h
20
21
#include "
itkRegularStepGradientDescentOptimizer.h
"
22
#include "
itkVersor.h
"
23
#include "ITKOptimizersExport.h"
24
25
namespace
itk
26
{
51
class
ITKOptimizers_EXPORT
VersorRigid3DTransformOptimizer
:
public
RegularStepGradientDescentBaseOptimizer
52
{
53
public
:
54
ITK_DISALLOW_COPY_AND_MOVE(
VersorRigid3DTransformOptimizer
);
55
57
using
Self
=
VersorRigid3DTransformOptimizer
;
58
using
Superclass
=
RegularStepGradientDescentBaseOptimizer
;
59
using
Pointer
=
SmartPointer<Self>
;
60
using
ConstPointer
=
SmartPointer<const Self>
;
61
63
itkNewMacro(
Self
);
64
66
itkTypeMacro(
VersorRigid3DTransformOptimizer
,
RegularStepGradientDescentBaseOptimizer
);
67
69
static
constexpr
unsigned
int
SpaceDimension = 6;
70
72
using
VersorType
=
Versor<double>
;
73
using
VectorType
=
VersorType::VectorType
;
74
76
void
77
StepAlongGradient(
double
factor,
const
DerivativeType
& transformedGradient)
override
;
78
79
protected
:
80
VersorRigid3DTransformOptimizer
() =
default
;
81
~
VersorRigid3DTransformOptimizer
()
override
=
default
;
82
};
83
}
// end namespace itk
84
85
#endif
itk::RegularStepGradientDescentBaseOptimizer
Implement a gradient descent optimizer.
Definition:
itkRegularStepGradientDescentBaseOptimizer.h:58
itk::VersorRigid3DTransformOptimizer
Implement a gradient descent optimizer for the VersorRigid3DTransform parameter space.
Definition:
itkVersorRigid3DTransformOptimizer.h:51
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:10 for ITK by
1.8.16