ITK  6.0.0
Insight Toolkit
itkScaleLogarithmicTransform.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 itkScaleLogarithmicTransform_h
19#define itkScaleLogarithmicTransform_h
20
21#include "itkScaleTransform.h"
22
23namespace itk
24{
34template <typename TParametersValueType = float, unsigned int VDimension = 3>
35class ITK_TEMPLATE_EXPORT ScaleLogarithmicTransform : public ScaleTransform<TParametersValueType, VDimension>
36{
37public:
38 ITK_DISALLOW_COPY_AND_MOVE(ScaleLogarithmicTransform);
39
45
47 itkNewMacro(Self);
48
50 itkOverrideGetNameOfClassMacro(ScaleLogarithmicTransform);
51
53 static constexpr unsigned int SpaceDimension = VDimension;
54 static constexpr unsigned int ParametersDimension = VDimension;
55
57 using typename Superclass::ScalarType;
58
60 using typename Superclass::ParametersType;
62 using typename Superclass::FixedParametersType;
64
66 using typename Superclass::JacobianType;
67 using typename Superclass::JacobianPositionType;
68 using typename Superclass::InverseJacobianPositionType;
69
71 using typename Superclass::ScaleType;
73
75 using typename Superclass::InputVectorType;
76 using typename Superclass::OutputVectorType;
77
79 using typename Superclass::InputCovariantVectorType;
80 using typename Superclass::OutputCovariantVectorType;
81
83 using typename Superclass::InputVnlVectorType;
84 using typename Superclass::OutputVnlVectorType;
85
87 using typename Superclass::InputPointType;
88 using typename Superclass::OutputPointType;
89
93 void
94 SetParameters(const ParametersType & parameters) override;
95
101 const ParametersType &
102 GetParameters() const override;
103
106 void
108
109protected:
112
114 ~ScaleLogarithmicTransform() override = default;
115
117 void
118 PrintSelf(std::ostream & os, Indent indent) const override;
119}; // class
120 // ScaleLogarithmicTransform
121} // namespace itk
122
123#ifndef ITK_MANUAL_INSTANTIATION
124# include "itkScaleLogarithmicTransform.hxx"
125#endif
126
127#endif /* itkScaleLogarithmicTransform_h */
Array2D class representing a 2D array.
Definition: itkArray2D.h:43
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.
TParametersValueType ValueType
Logarithmic Scale transformation of a vector space (e.g. space coordinates)
typename FixedParametersType::ValueType FixedParametersValueType
void SetParameters(const ParametersType &parameters) override
typename ScaleType::ValueType ScalesValueType
~ScaleLogarithmicTransform() override=default
typename ParametersType::ValueType ParametersValueType
const ParametersType & GetParameters() const override
void ComputeJacobianWithRespectToParameters(const InputPointType &p, JacobianType &jacobian) const override
void PrintSelf(std::ostream &os, Indent indent) const override
Scale transformation of a vector space (e.g. space coordinates)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....