ITK  5.3.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  * 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 itkScaleLogarithmicTransform_h
19 #define itkScaleLogarithmicTransform_h
20 
21 #include "itkScaleTransform.h"
22 
23 namespace itk
24 {
34 template <typename TParametersValueType = float, unsigned int NDimensions = 3>
35 class ITK_TEMPLATE_EXPORT ScaleLogarithmicTransform : public ScaleTransform<TParametersValueType, NDimensions>
36 {
37 public:
38  ITK_DISALLOW_COPY_AND_MOVE(ScaleLogarithmicTransform);
39 
45 
47  itkNewMacro(Self);
48 
51 
53  static constexpr unsigned int SpaceDimension = NDimensions;
54  static constexpr unsigned int ParametersDimension = NDimensions;
55 
57  using ScalarType = typename Superclass::ScalarType;
58 
60  using ParametersType = typename Superclass::ParametersType;
61  using ParametersValueType = typename ParametersType::ValueType;
62  using FixedParametersType = typename Superclass::FixedParametersType;
63  using FixedParametersValueType = typename FixedParametersType::ValueType;
64 
66  using JacobianType = typename Superclass::JacobianType;
67  using JacobianPositionType = typename Superclass::JacobianPositionType;
68  using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType;
69 
71  using ScaleType = typename Superclass::ScaleType;
72  using ScalesValueType = typename ScaleType::ValueType;
73 
75  using InputVectorType = typename Superclass::InputVectorType;
76  using OutputVectorType = typename Superclass::OutputVectorType;
77 
79  using InputCovariantVectorType = typename Superclass::InputCovariantVectorType;
80  using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType;
81 
83  using InputVnlVectorType = typename Superclass::InputVnlVectorType;
84  using OutputVnlVectorType = typename Superclass::OutputVnlVectorType;
85 
87  using InputPointType = typename Superclass::InputPointType;
88  using OutputPointType = 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::JacobianType
typename Superclass::JacobianType JacobianType
Definition: itkScaleLogarithmicTransform.h:66
itk::ScaleLogarithmicTransform::ScalesValueType
typename ScaleType::ValueType ScalesValueType
Definition: itkScaleLogarithmicTransform.h:72
itk::ScaleLogarithmicTransform
Logarithmic Scale transformation of a vector space (e.g. space coordinates)
Definition: itkScaleLogarithmicTransform.h:35
itk::ScaleLogarithmicTransform::OutputVnlVectorType
typename Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkScaleLogarithmicTransform.h:84
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:41
itk::ScaleLogarithmicTransform::ParametersValueType
typename ParametersType::ValueType ParametersValueType
Definition: itkScaleLogarithmicTransform.h:61
itk::ScaleLogarithmicTransform::ParametersType
typename Superclass::ParametersType ParametersType
Definition: itkScaleLogarithmicTransform.h:60
itk::ScaleLogarithmicTransform::JacobianPositionType
typename Superclass::JacobianPositionType JacobianPositionType
Definition: itkScaleLogarithmicTransform.h:67
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::ScaleLogarithmicTransform::FixedParametersValueType
typename FixedParametersType::ValueType FixedParametersValueType
Definition: itkScaleLogarithmicTransform.h:63
itk::ScaleLogarithmicTransform::InputPointType
typename Superclass::InputPointType InputPointType
Definition: itkScaleLogarithmicTransform.h:87
itk::ScaleLogarithmicTransform::OutputVectorType
typename Superclass::OutputVectorType OutputVectorType
Definition: itkScaleLogarithmicTransform.h:76
itk::ScaleLogarithmicTransform::FixedParametersType
typename Superclass::FixedParametersType FixedParametersType
Definition: itkScaleLogarithmicTransform.h:62
itk::ScaleLogarithmicTransform::InputVectorType
typename Superclass::InputVectorType InputVectorType
Definition: itkScaleLogarithmicTransform.h:75
itk::ScaleLogarithmicTransform::OutputPointType
typename Superclass::OutputPointType OutputPointType
Definition: itkScaleLogarithmicTransform.h:88
itk::ScaleLogarithmicTransform::ScalarType
typename Superclass::ScalarType ScalarType
Definition: itkScaleLogarithmicTransform.h:57
itk::ScaleLogarithmicTransform::OutputCovariantVectorType
typename Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkScaleLogarithmicTransform.h:80
itk::ScaleLogarithmicTransform::InverseJacobianPositionType
typename Superclass::InverseJacobianPositionType InverseJacobianPositionType
Definition: itkScaleLogarithmicTransform.h:68
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ScaleLogarithmicTransform::ScaleType
typename Superclass::ScaleType ScaleType
Definition: itkScaleLogarithmicTransform.h:71
itk::ScaleLogarithmicTransform::InputCovariantVectorType
typename Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkScaleLogarithmicTransform.h:79
itk::ScaleLogarithmicTransform::InputVnlVectorType
typename Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkScaleLogarithmicTransform.h:83
itkScaleTransform.h