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

itkVectorGradientAnisotropicDiffusionImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkVectorGradientAnisotropicDiffusionImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/30 15:24:40 $
00007   Version:   $Revision: 1.16 $
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 __itkVectorGradientAnisotropicDiffusionImageFilter_h_
00018 #define __itkVectorGradientAnisotropicDiffusionImageFilter_h_
00019 
00020 #include "itkExceptionObject.h"
00021 #include "itkAnisotropicDiffusionImageFilter.h"
00022 #include "itkVectorGradientNDAnisotropicDiffusionFunction.h"
00023 
00024 namespace itk {
00025 
00033 template <class TInputImage, class TOutputImage>
00034 class VectorGradientAnisotropicDiffusionImageFilter
00035   : public AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00036 {
00037 public:
00039   typedef VectorGradientAnisotropicDiffusionImageFilter Self;
00040   typedef AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00041    Superclass;
00042   typedef SmartPointer<Self> Pointer;
00043   typedef SmartPointer<const Self> ConstPointer;
00044 
00046   itkNewMacro(Self);
00047 
00049   itkTypeMacro(VectorGradientAnisotropicDiffusionImageFilter,
00050                AnisotropicDiffusionImageFilter);
00051   
00053   typedef typename Superclass::UpdateBufferType UpdateBufferType;
00054 
00056   itkStaticConstMacro(ImageDimension, unsigned int,
00057                       Superclass::ImageDimension );
00058   
00059 protected:
00060   VectorGradientAnisotropicDiffusionImageFilter()
00061     {
00062     typename VectorGradientNDAnisotropicDiffusionFunction<UpdateBufferType>::Pointer p        
00063         = VectorGradientNDAnisotropicDiffusionFunction<UpdateBufferType>::New();
00064       this->SetDifferenceFunction(p);
00065     }
00066   ~VectorGradientAnisotropicDiffusionImageFilter() {}
00067 
00068 private:
00069   VectorGradientAnisotropicDiffusionImageFilter(const Self&); //purposely not implemented
00070   void operator=(const Self&); //purposely not implemented
00071 };
00072 
00073 } // end namspace itk
00074 
00075 #endif

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