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: 2002/09/30 15:24:40 $
00007   Version:   $Revision: 1.21 $
00008 
00009   Copyright (c) 2002 Insight 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 
00043 template <class TInputImage, class TOutputImage>
00044 class GradientAnisotropicDiffusionImageFilter
00045   : public AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00046 {
00047 public:
00049   typedef GradientAnisotropicDiffusionImageFilter Self;
00050   typedef AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00051     Superclass;
00052   typedef SmartPointer<Self> Pointer;
00053   typedef SmartPointer<const Self> ConstPointer;
00054 
00056   itkNewMacro(Self);
00057 
00059   itkTypeMacro(GradientAnisotropicDiffusionImageFilter,
00060                AnisotropicDiffusionImageFilter);
00061   
00063   typedef typename Superclass::UpdateBufferType UpdateBufferType;
00064 
00066   itkStaticConstMacro(ImageDimension, unsigned int,Superclass::ImageDimension);
00067   
00068 protected:
00069   GradientAnisotropicDiffusionImageFilter()
00070     {
00071       typename GradientNDAnisotropicDiffusionFunction<UpdateBufferType>::Pointer p
00072         = GradientNDAnisotropicDiffusionFunction<UpdateBufferType>::New();
00073       this->SetDifferenceFunction(p);
00074     }
00075   ~GradientAnisotropicDiffusionImageFilter() {}
00076 
00077   void PrintSelf(std::ostream& os, Indent indent) const
00078     {      Superclass::PrintSelf(os,indent);    }
00079   
00080 private:  
00081   GradientAnisotropicDiffusionImageFilter(const Self&); //purposely not implemented
00082   void operator=(const Self&); //purposely not implemented
00083 
00084 };
00085 
00086 } // end namspace itk
00087 
00088 #endif

Generated at Wed Mar 12 01:12:58 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000