ITK  6.0.0
Insight Toolkit
itkRegistrationParameterScalesFromPhysicalShift.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 itkRegistrationParameterScalesFromPhysicalShift_h
19 #define itkRegistrationParameterScalesFromPhysicalShift_h
20 
22 
23 namespace itk
24 {
25 
34 template <typename TMetric>
37 {
38 public:
39  ITK_DISALLOW_COPY_AND_MOVE(RegistrationParameterScalesFromPhysicalShift);
40 
46 
48  itkNewMacro(Self);
49 
51  itkOverrideGetNameOfClassMacro(RegistrationParameterScalesFromPhysicalShift);
52 
54  using typename Superclass::ScalesType;
55 
57  using typename Superclass::ParametersType;
58 
60  using typename Superclass::FloatType;
61 
62  using typename Superclass::VirtualPointType;
63  using typename Superclass::VirtualIndexType;
64  using typename Superclass::MovingTransformType;
65  using typename Superclass::FixedTransformType;
66  using typename Superclass::JacobianType;
67  using typename Superclass::VirtualImageConstPointer;
68 
69 protected:
72 
73  void
74  PrintSelf(std::ostream & os, Indent indent) const override;
75 
76  void
77  ComputeSampleShifts(const ParametersType & deltaParameters, ScalesType & sampleShifts) override;
78 
79 private:
80  template <typename TTransform>
81  void
82  ComputeSampleShiftsInternal(const ParametersType & deltaParameters, ScalesType & sampleShifts);
83 
84 }; // class RegistrationParameterScalesFromPhysicalShift
85 
86 } // namespace itk
87 
88 
89 #ifndef ITK_MANUAL_INSTANTIATION
90 # include "itkRegistrationParameterScalesFromPhysicalShift.hxx"
91 #endif
92 
93 #endif /* itkRegistrationParameterScalesFromPhysicalShift_h */
itk::OptimizerParameters
Class to hold and manage different parameter types used during optimization.
Definition: itkOptimizerParameters.h:36
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itkRegistrationParameterScalesFromShiftBase.h
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::RegistrationParameterScalesFromShiftBase
Registration helper base class for estimating scales of transform parameters from the maximum voxel s...
Definition: itkRegistrationParameterScalesFromShiftBase.h:44
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::RegistrationParameterScalesFromPhysicalShift
Registration helper class for estimating scales of transform parameters a step sizes,...
Definition: itkRegistrationParameterScalesFromPhysicalShift.h:35