ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkLevelSetMotionRegistrationFilter.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 __itkLevelSetMotionRegistrationFilter_h
19 #define __itkLevelSetMotionRegistrationFilter_h
20 
23 
24 namespace itk
25 {
90 template< typename TFixedImage, typename TMovingImage, typename TDisplacementField >
92  public PDEDeformableRegistrationFilter< TFixedImage, TMovingImage,
93  TDisplacementField >
94 {
95 public:
101 
103  itkNewMacro(Self);
104 
108 
110  typedef typename Superclass::TimeStepType TimeStepType;
111 
115 
119 
121  typedef typename Superclass::DisplacementFieldType
123  typedef typename Superclass::DisplacementFieldPointer
125 
129 
133 
139  virtual double GetMetric() const;
140 
147  virtual void SetAlpha(double);
148 
149  virtual double GetAlpha() const;
150 
155  virtual void SetIntensityDifferenceThreshold(double);
156 
157  virtual double GetIntensityDifferenceThreshold() const;
158 
161  virtual void SetGradientMagnitudeThreshold(double);
162 
163  virtual double GetGradientMagnitudeThreshold() const;
164 
177  virtual void SetGradientSmoothingStandardDeviations(double sigma);
178 
179  virtual double GetGradientSmoothingStandardDeviations() const;
180 
181 protected:
184  void PrintSelf(std::ostream & os, Indent indent) const;
185 
187  virtual void InitializeIteration();
188 
190  virtual void ApplyUpdate(const TimeStepType& dt);
191 
196  virtual bool Halt();
197 
198 private:
199  LevelSetMotionRegistrationFilter(const Self &); //purposely not implemented
200  void operator=(const Self &); //purposely not implemented
201 };
202 } // end namespace itk
203 
204 #ifndef ITK_MANUAL_INSTANTIATION
205 #include "itkLevelSetMotionRegistrationFilter.hxx"
206 #endif
207 
208 #endif
Light weight base class for most itk classes.
virtual double GetGradientSmoothingStandardDeviations() const
virtual double GetAlpha() const
virtual double GetGradientMagnitudeThreshold() const
LevelSetMotionRegistrationFunction< FixedImageType, MovingImageType, DisplacementFieldType > LevelSetMotionFunctionType
PDEDeformableRegistrationFilter< TFixedImage, TMovingImage, TDisplacementField > Superclass
virtual void SetGradientSmoothingStandardDeviations(double sigma)
Superclass::DisplacementFieldPointer DisplacementFieldPointer
virtual void SetIntensityDifferenceThreshold(double)
virtual void SetGradientMagnitudeThreshold(double)
virtual void ApplyUpdate(const TimeStepType &dt)
void PrintSelf(std::ostream &os, Indent indent) const
Deformably register two images using level set motion.
virtual double GetIntensityDifferenceThreshold() const
Deformably register two images using a PDE algorithm.
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Control indentation during Print() invocation.
Definition: itkIndent.h:49
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
virtual double GetMetric() const