ITK  6.0.0
Insight Toolkit
itkLevelSetMotionRegistrationFilter.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 itkLevelSetMotionRegistrationFilter_h
19#define itkLevelSetMotionRegistrationFilter_h
20
23
24namespace itk
25{
90template <typename TFixedImage, typename TMovingImage, typename TDisplacementField>
91class ITK_TEMPLATE_EXPORT LevelSetMotionRegistrationFilter
92 : public PDEDeformableRegistrationFilter<TFixedImage, TMovingImage, TDisplacementField>
93{
94public:
95 ITK_DISALLOW_COPY_AND_MOVE(LevelSetMotionRegistrationFilter);
96
102
104 itkNewMacro(Self);
105
107 itkOverrideGetNameOfClassMacro(LevelSetMotionRegistrationFilter);
108
110 using typename Superclass::TimeStepType;
111
113 using typename Superclass::FixedImageType;
114 using typename Superclass::FixedImagePointer;
115
117 using typename Superclass::MovingImageType;
118 using typename Superclass::MovingImagePointer;
119
121 using typename Superclass::DisplacementFieldType;
122 using typename Superclass::DisplacementFieldPointer;
123
125 using typename Superclass::FiniteDifferenceFunctionType;
126
130
136 virtual double
137 GetMetric() const;
138
145 virtual void
146 SetAlpha(double);
147
148 virtual double
149 GetAlpha() const;
150
155 virtual void
157
158 virtual double
160
163 virtual void
165
166 virtual double
168
181 virtual void
183
184 virtual double
186
187protected:
190 void
191 PrintSelf(std::ostream & os, Indent indent) const override;
192
194 void
196
198 void
199 ApplyUpdate(const TimeStepType & dt) override;
200
205 bool
206 Halt() override;
207};
208} // end namespace itk
209
210#ifndef ITK_MANUAL_INSTANTIATION
211# include "itkLevelSetMotionRegistrationFilter.hxx"
212#endif
213
214#endif
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Deformably register two images using level set motion.
virtual double GetIntensityDifferenceThreshold() const
virtual void SetGradientSmoothingStandardDeviations(double sigma)
virtual double GetGradientSmoothingStandardDeviations() const
virtual double GetGradientMagnitudeThreshold() const
void PrintSelf(std::ostream &os, Indent indent) const override
void ApplyUpdate(const TimeStepType &dt) override
virtual void SetIntensityDifferenceThreshold(double)
~LevelSetMotionRegistrationFilter() override=default
virtual void SetGradientMagnitudeThreshold(double)
virtual double GetMetric() const
Light weight base class for most itk classes.
Deformably register two images using a PDE algorithm.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....