ITK  6.0.0
Insight Toolkit
itkOptimizerParameterScalesEstimator.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 itkOptimizerParameterScalesEstimator_h
19#define itkOptimizerParameterScalesEstimator_h
20
21#include "itkObject.h"
22#include "itkObjectFactory.h"
24
25namespace itk
26{
27
38template <typename TInternalComputationValueType = double>
40{
41public:
42 ITK_DISALLOW_COPY_AND_MOVE(OptimizerParameterScalesEstimatorTemplate);
43
49
51 itkOverrideGetNameOfClassMacro(OptimizerParameterScalesEstimatorTemplate);
52
55
58
60 using FloatType = TInternalComputationValueType;
61
63 virtual void
65
67 virtual FloatType
69
71 virtual void
72 EstimateLocalStepScales(const ParametersType & step, ScalesType & localStepScales) = 0;
73
75 virtual FloatType
77
78protected:
81
82 void
83 PrintSelf(std::ostream & os, Indent indent) const override
84 {
85 Superclass::PrintSelf(os, indent);
86 }
87}; // class OptimizerParameterScalesEstimatorTemplate
88
91
92} // namespace itk
93
94#endif
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Light weight base class for most itk classes.
Base class for most ITK classes.
Definition: itkObject.h:62
void PrintSelf(std::ostream &os, Indent indent) const override
OptimizerParameterScalesEstimatorTemplate is the base class offering a empty method of estimating the...
void PrintSelf(std::ostream &os, Indent indent) const override
virtual void EstimateScales(ScalesType &scales)=0
~OptimizerParameterScalesEstimatorTemplate() override=default
virtual void EstimateLocalStepScales(const ParametersType &step, ScalesType &localStepScales)=0
virtual FloatType EstimateStepScale(const ParametersType &step)=0
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....