ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkScaleLogarithmicTransform.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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,
35  unsigned int NDimensions = 3>
36 class ITK_TEMPLATE_EXPORT ScaleLogarithmicTransform :
37  public ScaleTransform<TParametersValueType, NDimensions>
38 {
39 public:
40  ITK_DISALLOW_COPY_AND_ASSIGN(ScaleLogarithmicTransform);
41 
47 
49  itkNewMacro(Self);
50 
53 
55  static constexpr unsigned int SpaceDimension = NDimensions;
56  static constexpr unsigned int ParametersDimension = NDimensions;
57 
59  using ScalarType = typename Superclass::ScalarType;
60 
62  using ParametersType = typename Superclass::ParametersType;
63  using ParametersValueType = typename ParametersType::ValueType;
64  using FixedParametersType = typename Superclass::FixedParametersType;
65  using FixedParametersValueType = typename FixedParametersType::ValueType;
66 
68  using JacobianType = typename Superclass::JacobianType;
69  using JacobianPositionType = typename Superclass::JacobianPositionType;
70  using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType;
71 
73  using ScaleType = typename Superclass::ScaleType;
74  using ScalesValueType = typename ScaleType::ValueType;
75 
77  using InputVectorType = typename Superclass::InputVectorType;
78  using OutputVectorType = typename Superclass::OutputVectorType;
79 
81  using InputCovariantVectorType = typename Superclass::InputCovariantVectorType;
82  using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType;
83 
85  using InputVnlVectorType = typename Superclass::InputVnlVectorType;
86  using OutputVnlVectorType = typename Superclass::OutputVnlVectorType;
87 
89  using InputPointType = typename Superclass::InputPointType;
90  using OutputPointType = typename Superclass::OutputPointType;
91 
95  void SetParameters(const ParametersType & parameters) override;
96 
102  const ParametersType & GetParameters() const override;
103 
106  void ComputeJacobianWithRespectToParameters( const InputPointType & p, JacobianType & jacobian) const override;
107 
108 protected:
110  ScaleLogarithmicTransform() = default;
111 
113  ~ScaleLogarithmicTransform() override = default;
114 
116  void PrintSelf(std::ostream & os, Indent indent) const override;
117 }; // class
118  // ScaleLogarithmicTransform
119 } // namespace itk
120 
121 #ifndef ITK_MANUAL_INSTANTIATION
122 #include "itkScaleLogarithmicTransform.hxx"
123 #endif
124 
125 #endif /* itkScaleLogarithmicTransform_h */
typename Superclass::InputVnlVectorType InputVnlVectorType
Light weight base class for most itk classes.
typename Superclass::ScalarType ScalarType
typename Superclass::InputVectorType InputVectorType
typename ScaleType::ValueType ScalesValueType
typename FixedParametersType::ValueType FixedParametersValueType
typename Superclass::InputPointType InputPointType
typename ParametersType::ValueType ParametersValueType
typename Superclass::JacobianPositionType JacobianPositionType
typename Superclass::OutputPointType OutputPointType
Logarithmic Scale transformation of a vector space (e.g. space coordinates)
typename Superclass::ScaleType ScaleType
typename Superclass::OutputCovariantVectorType OutputCovariantVectorType
Scale transformation of a vector space (e.g. space coordinates)
typename Superclass::InverseJacobianPositionType InverseJacobianPositionType
typename Superclass::JacobianType JacobianType
typename Superclass::FixedParametersType FixedParametersType
typename Superclass::ParametersType ParametersType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
typename Superclass::InputCovariantVectorType InputCovariantVectorType
typename Superclass::OutputVectorType OutputVectorType
typename Superclass::OutputVnlVectorType OutputVnlVectorType