Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkLevelSetMotionRegistrationFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkLevelSetMotionRegistrationFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2004/09/29 14:20:40 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef _itkLevelSetMotionFilter_h_
00018 #define _itkLevelSetMotionFilter_h_
00019 
00020 #include "itkPDEDeformableRegistrationFilter.h"
00021 #include "itkLevelSetMotionRegistrationFunction.h"
00022 
00023 namespace itk {
00024 
00088 template<class TFixedImage, class TMovingImage, class TDeformationField>
00089 class ITK_EXPORT LevelSetMotionRegistrationFilter : 
00090     public PDEDeformableRegistrationFilter< TFixedImage, TMovingImage,
00091                                             TDeformationField>
00092 {
00093 public:
00095   typedef LevelSetMotionRegistrationFilter    Self;
00096   typedef PDEDeformableRegistrationFilter<
00097     TFixedImage, TMovingImage,TDeformationField>    Superclass;
00098   typedef SmartPointer<Self> Pointer;
00099   typedef SmartPointer<const Self> ConstPointer;
00100 
00102   itkNewMacro(Self);
00103 
00105   itkTypeMacro( LevelSetMotionRegistrationFilter, 
00106                 PDEDeformableRegistrationFilter );
00107 
00109   typedef typename Superclass::TimeStepType  TimeStepType;
00110 
00112   typedef typename Superclass::FixedImageType   FixedImageType;
00113   typedef typename Superclass::FixedImagePointer  FixedImagePointer;
00114 
00116   typedef typename Superclass::MovingImageType    MovingImageType;
00117   typedef typename Superclass::MovingImagePointer  MovingImagePointer;
00118 
00120   typedef typename Superclass::DeformationFieldType 
00121   DeformationFieldType;
00122   typedef typename Superclass::DeformationFieldPointer  
00123   DeformationFieldPointer;
00124 
00126   typedef typename Superclass::FiniteDifferenceFunctionType
00127   FiniteDifferenceFunctionType;
00128 
00130   typedef LevelSetMotionRegistrationFunction<FixedImageType,MovingImageType,
00131                             DeformationFieldType>  LevelSetMotionFunctionType;
00132 
00138   virtual double GetMetric() const;
00139 
00146   virtual void SetAlpha(double);
00147   virtual double GetAlpha() const;
00149 
00154   virtual void SetIntensityDifferenceThreshold(double);
00155   virtual double GetIntensityDifferenceThreshold() const;
00157 
00160   virtual void SetGradientMagnitudeThreshold(double);
00161   virtual double GetGradientMagnitudeThreshold() const;
00163 
00176   virtual void SetGradientSmoothingStandardDeviations( double sigma );
00177   virtual double GetGradientSmoothingStandardDeviations() const;
00179 
00180 protected:
00181   LevelSetMotionRegistrationFilter();
00182   ~LevelSetMotionRegistrationFilter() {}
00183   void PrintSelf(std::ostream& os, Indent indent) const;
00184 
00186   virtual void InitializeIteration();
00187 
00189   virtual void ApplyUpdate(TimeStepType dt);
00190 
00195   virtual bool Halt();
00196 
00197 private:
00198   LevelSetMotionRegistrationFilter(const Self&); //purposely not implemented
00199   void operator=(const Self&); //purposely not implemented
00200 
00201 };
00202 
00203 
00204 } // end namespace itk
00205 
00206 #ifndef ITK_MANUAL_INSTANTIATION
00207 #include "itkLevelSetMotionRegistrationFilter.txx"
00208 #endif
00209 
00210 #endif
00211 

Generated at Wed Nov 5 22:39:23 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000