ITK  6.0.0
Insight Toolkit
itkRegistrationParameterScalesFromJacobian.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 * https://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 itkRegistrationParameterScalesFromJacobian_h
19#define itkRegistrationParameterScalesFromJacobian_h
20
22
23namespace itk
24{
25
41template <typename TMetric>
43{
44public:
45 ITK_DISALLOW_COPY_AND_MOVE(RegistrationParameterScalesFromJacobian);
46
52
54 itkNewMacro(Self);
55
57 itkOverrideGetNameOfClassMacro(RegistrationParameterScalesFromJacobian);
58
60 using typename Superclass::ScalesType;
61
63 using typename Superclass::ParametersType;
64
66 using typename Superclass::FloatType;
67
68 using typename Superclass::VirtualPointType;
69 using typename Superclass::VirtualIndexType;
70 using typename Superclass::MovingTransformType;
71 using typename Superclass::FixedTransformType;
72 using typename Superclass::JacobianType;
73 using typename Superclass::VirtualImageConstPointer;
74
80 void
81 EstimateScales(ScalesType & parameterScales) override;
82
101 EstimateStepScale(const ParametersType & step) override;
102
107 void
108 EstimateLocalStepScales(const ParametersType & step, ScalesType & localStepScales) override;
109
110protected:
113
114 void
115 PrintSelf(std::ostream & os, Indent indent) const override;
116
121 void
122 ComputeSampleStepScales(const ParametersType & step, ScalesType & sampleScales);
123}; // class RegistrationParameterScalesFromJacobian
124
125
126} // namespace itk
127
128
129#ifndef ITK_MANUAL_INSTANTIATION
130# include "itkRegistrationParameterScalesFromJacobian.hxx"
131#endif
132
133#endif /* itkRegistrationParameterScalesFromJacobian_h */
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Light weight base class for most itk classes.
Class to hold and manage different parameter types used during optimization.
Implements a registration helper class for estimating scales of transform parameters and step sizes.
Implements a registration helper class for estimating scales of transform parameters from Jacobian no...
void EstimateLocalStepScales(const ParametersType &step, ScalesType &localStepScales) override
void PrintSelf(std::ostream &os, Indent indent) const override
void ComputeSampleStepScales(const ParametersType &step, ScalesType &sampleScales)
FloatType EstimateStepScale(const ParametersType &step) override
void EstimateScales(ScalesType &parameterScales) override
~RegistrationParameterScalesFromJacobian() override=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....