ITK  4.8.0
Insight Segmentation and Registration Toolkit
itkRegistrationParameterScalesFromJacobian.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 itkRegistrationParameterScalesFromJacobian_h
19 #define itkRegistrationParameterScalesFromJacobian_h
20 
22 
23 namespace itk
24 {
25 
40 template < typename TMetric >
42  public RegistrationParameterScalesEstimator< TMetric >
43 {
44 public:
50 
52  itkNewMacro( Self );
53 
56 
58  typedef typename Superclass::ScalesType ScalesType;
59 
62 
64  typedef typename Superclass::FloatType FloatType;
65 
72 
74  virtual void EstimateScales(ScalesType &scales) ITK_OVERRIDE;
75 
93  virtual FloatType EstimateStepScale(const ParametersType &step) ITK_OVERRIDE;
94 
96  virtual void EstimateLocalStepScales(const ParametersType &step,
97  ScalesType &localStepScales) ITK_OVERRIDE;
98 
99 protected:
102 
103  virtual void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
104 
109  void ComputeSampleStepScales(const ParametersType &step, ScalesType &sampleScales);
110 
111 private:
112  RegistrationParameterScalesFromJacobian(const Self&); //purposely not implemented
113  void operator=(const Self&); //purposely not implemented
114 
115 }; //class RegistrationParameterScalesFromJacobian
116 
117 
118 } // namespace itk
119 
120 
121 #ifndef ITK_MANUAL_INSTANTIATION
122 #include "itkRegistrationParameterScalesFromJacobian.hxx"
123 #endif
124 
125 #endif /* itkRegistrationParameterScalesFromJacobian_h */
Light weight base class for most itk classes.
virtual FloatType EstimateStepScale(const ParametersType &step) override
RegistrationParameterScalesEstimator< TMetric > Superclass
virtual void EstimateLocalStepScales(const ParametersType &step, ScalesType &localStepScales) override
virtual void PrintSelf(std::ostream &os, Indent indent) const override
virtual void EstimateScales(ScalesType &scales) override
Implements a registration helper class for estimating scales of transform parameters and step sizes...
void ComputeSampleStepScales(const ParametersType &step, ScalesType &sampleScales)
Implements a registration helper class for estimating scales of transform parameters from Jacobian no...
Control indentation during Print() invocation.
Definition: itkIndent.h:49