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: 2006/03/27 17:01:09 $
00007   Version:   $Revision: 1.27 $
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 #ifdef ITK_USE_CONCEPT_CHECKING
00073 
00074   itkConceptMacro(UpdateBufferHasNumericTraitsCheck,
00075     (Concept::HasNumericTraits<typename UpdateBufferType::PixelType>));
00076 
00078 #endif
00079 
00080 protected:
00081   GradientAnisotropicDiffusionImageFilter()
00082   {
00083     typename GradientNDAnisotropicDiffusionFunction<UpdateBufferType>::Pointer p
00084       = GradientNDAnisotropicDiffusionFunction<UpdateBufferType>::New();
00085     this->SetDifferenceFunction(p);
00086   }
00087   ~GradientAnisotropicDiffusionImageFilter() {}
00088 
00089 private:  
00090   GradientAnisotropicDiffusionImageFilter(const Self&); //purposely not implemented
00091   void operator=(const Self&); //purposely not implemented
00092 
00093 };
00094 
00095 } // end namspace itk
00096 
00097 #endif
00098 

Generated at Tue Jul 29 20:11:22 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000