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;
00148 
00153   virtual void SetIntensityDifferenceThreshold(double);
00154   virtual double GetIntensityDifferenceThreshold() const;
00155 
00158   virtual void SetGradientMagnitudeThreshold(double);
00159   virtual double GetGradientMagnitudeThreshold() const;
00160 
00173   virtual void SetGradientSmoothingStandardDeviations( double sigma );
00174   virtual double GetGradientSmoothingStandardDeviations() const;
00175   
00176 protected:
00177   LevelSetMotionRegistrationFilter();
00178   ~LevelSetMotionRegistrationFilter() {}
00179   void PrintSelf(std::ostream& os, Indent indent) const;
00180 
00182   virtual void InitializeIteration();
00183 
00185   virtual void ApplyUpdate(TimeStepType dt);
00186 
00191   virtual bool Halt();
00192 
00193 private:
00194   LevelSetMotionRegistrationFilter(const Self&); //purposely not implemented
00195   void operator=(const Self&); //purposely not implemented
00196 
00197 };
00198 
00199 
00200 } // end namespace itk
00201 
00202 #ifndef ITK_MANUAL_INSTANTIATION
00203 #include "itkLevelSetMotionRegistrationFilter.txx"
00204 #endif
00205 
00206 #endif

Generated at Wed May 24 23:35:32 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000