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

itkGradientAnisotropicDiffusionImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGradientAnisotropicDiffusionImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:28:47 $
00007   Version:   $Revision: 1.26 $
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 __itkGradientAnisotropicDiffusionImageFilter_h_
00018 #define __itkGradientAnisotropicDiffusionImageFilter_h_
00019 
00020 #include "itkAnisotropicDiffusionImageFilter.h"
00021 #include "itkGradientNDAnisotropicDiffusionFunction.h"
00022 
00023 namespace itk {
00024 
00047 template <class TInputImage, class TOutputImage>
00048 class ITK_EXPORT GradientAnisotropicDiffusionImageFilter
00049   : public AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00050 {
00051 public:
00053   typedef GradientAnisotropicDiffusionImageFilter Self;
00054   typedef AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00055   Superclass;
00056   typedef SmartPointer<Self> Pointer;
00057   typedef SmartPointer<const Self> ConstPointer;
00058 
00060   itkNewMacro(Self);
00061 
00063   itkTypeMacro(GradientAnisotropicDiffusionImageFilter,
00064                AnisotropicDiffusionImageFilter);
00065   
00067   typedef typename Superclass::UpdateBufferType UpdateBufferType;
00068 
00070   itkStaticConstMacro(ImageDimension, unsigned int,Superclass::ImageDimension);
00071   
00072 protected:
00073   GradientAnisotropicDiffusionImageFilter()
00074   {
00075     typename GradientNDAnisotropicDiffusionFunction<UpdateBufferType>::Pointer p
00076       = GradientNDAnisotropicDiffusionFunction<UpdateBufferType>::New();
00077     this->SetDifferenceFunction(p);
00078   }
00079   ~GradientAnisotropicDiffusionImageFilter() {}
00080 
00081 private:  
00082   GradientAnisotropicDiffusionImageFilter(const Self&); //purposely not implemented
00083   void operator=(const Self&); //purposely not implemented
00084 
00085 };
00086 
00087 } // end namspace itk
00088 
00089 #endif

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