ITK  6.0.0
Insight Toolkit
itkSymmetricForcesDemonsRegistrationFilter.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 itkSymmetricForcesDemonsRegistrationFilter_h
19#define itkSymmetricForcesDemonsRegistrationFilter_h
20
23
24namespace itk
25{
69template <typename TFixedImage, typename TMovingImage, typename TDisplacementField>
71 : public PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>
72{
73public:
74 ITK_DISALLOW_COPY_AND_MOVE(SymmetricForcesDemonsRegistrationFilter);
75
81
83 itkNewMacro(Self);
84
86 itkOverrideGetNameOfClassMacro(SymmetricForcesDemonsRegistrationFilter);
87
89 using typename Superclass::FixedImageType;
90 using typename Superclass::FixedImagePointer;
91
93 using typename Superclass::MovingImageType;
94 using typename Superclass::MovingImagePointer;
95
97 using typename Superclass::DisplacementFieldType;
98 using typename Superclass::DisplacementFieldPointer;
99
101 using typename Superclass::FiniteDifferenceFunctionType;
102
105
109
114 virtual double
115 GetMetric() const;
116
117 const double &
118 GetRMSChange() const override;
119
124 virtual void
126
127 virtual double
129
130protected:
133 void
134 PrintSelf(std::ostream & os, Indent indent) const override;
135
137 void
139
141 void
142 ApplyUpdate(const TimeStepType & dt) override;
143};
144} // end namespace itk
145
146#ifndef ITK_MANUAL_INSTANTIATION
147# include "itkSymmetricForcesDemonsRegistrationFilter.hxx"
148#endif
149
150#endif
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Light weight base class for most itk classes.
Deformably register two images using a PDE algorithm.
Deformably register two images using the demons algorithm.
virtual void SetIntensityDifferenceThreshold(double)
~SymmetricForcesDemonsRegistrationFilter() override=default
void ApplyUpdate(const TimeStepType &dt) override
typename FiniteDifferenceFunctionType::TimeStepType TimeStepType
virtual double GetIntensityDifferenceThreshold() const
const double & GetRMSChange() const override
void PrintSelf(std::ostream &os, Indent indent) const override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....