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 
23 namespace itk
24 {
34 template <typename TParametersValueType = float, unsigned int VDimension = 3>
35 class ITK_TEMPLATE_EXPORT ScaleLogarithmicTransform : public ScaleTransform<TParametersValueType, VDimension>
36 {
37 public:
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;
61  using ParametersValueType = typename ParametersType::ValueType;
62  using typename Superclass::FixedParametersType;
63  using FixedParametersValueType = typename FixedParametersType::ValueType;
64 
66  using typename Superclass::JacobianType;
67  using typename Superclass::JacobianPositionType;
69 
71  using typename Superclass::ScaleType;
73 
75  using typename Superclass::InputVectorType;
76  using typename Superclass::OutputVectorType;
77 
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
107  ComputeJacobianWithRespectToParameters(const InputPointType & p, JacobianType & jacobian) const override;
108 
109 protected:
111  ScaleLogarithmicTransform() = default;
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 */
itk::ScaleLogarithmicTransform::FixedParametersValueType
typename FixedParametersType::ValueType FixedParametersValueType
Definition: itkScaleLogarithmicTransform.h:63
itk::Vector< TParametersValueType, VDimension >
itk::ScaleLogarithmicTransform
Logarithmic Scale transformation of a vector space (e.g. space coordinates)
Definition: itkScaleLogarithmicTransform.h:35
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::ScaleTransform
Scale transformation of a vector space (e.g. space coordinates)
Definition: itkScaleTransform.h:45
itk::ScaleLogarithmicTransform::ParametersValueType
typename ParametersType::ValueType ParametersValueType
Definition: itkScaleLogarithmicTransform.h:61
itk::ScaleTransform::InputVnlVectorType
vnl_vector_fixed< TParametersValueType, VDimension > InputVnlVectorType
Definition: itkScaleTransform.h:91
itk::Transform::ScalarType
ParametersValueType ScalarType
Definition: itkTransform.h:127
itk::FixedArray< TParametersValueType, VDimension >
itk::CovariantVector
A templated class holding a n-Dimensional covariant vector.
Definition: itkCovariantVector.h:70
itk::Transform::JacobianPositionType
vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension > JacobianPositionType
Definition: itkTransform.h:131
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::Transform::InverseJacobianPositionType
vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension > InverseJacobianPositionType
Definition: itkTransform.h:132
itk::Point
A templated class holding a geometric point in n-Dimensional space.
Definition: itkPoint.h:53
itk::Array2D
Array2D class representing a 2D array.
Definition: itkArray2D.h:42
itk::ScaleTransform::OutputVnlVectorType
vnl_vector_fixed< TParametersValueType, VDimension > OutputVnlVectorType
Definition: itkScaleTransform.h:92
itk::ScaleLogarithmicTransform::ScalesValueType
typename ScaleType::ValueType ScalesValueType
Definition: itkScaleLogarithmicTransform.h:72
itkScaleTransform.h
itk::FixedArray< TParametersValueType, VDimension >::ValueType
TParametersValueType ValueType
Definition: itkFixedArray.h:63