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: 2008-10-17 16:30:54 $
00007   Version:   $Revision: 1.22 $
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 __itkVectorGradientAnisotropicDiffusionImageFilter_h
00018 #define __itkVectorGradientAnisotropicDiffusionImageFilter_h
00019 
00020 #include "itkExceptionObject.h"
00021 #include "itkAnisotropicDiffusionImageFilter.h"
00022 #include "itkVectorGradientNDAnisotropicDiffusionFunction.h"
00023 
00024 namespace itk {
00025 
00054 template <class TInputImage, class TOutputImage>
00055 class ITK_EXPORT VectorGradientAnisotropicDiffusionImageFilter
00056   : public AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00057 {
00058 public:
00060   typedef VectorGradientAnisotropicDiffusionImageFilter Self;
00061   typedef AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00062                                                         Superclass;
00063   typedef SmartPointer<Self>                            Pointer;
00064   typedef SmartPointer<const Self>                      ConstPointer;
00065 
00067   itkNewMacro(Self);
00068 
00070   itkTypeMacro(VectorGradientAnisotropicDiffusionImageFilter,
00071                AnisotropicDiffusionImageFilter);
00072 
00074   typedef typename Superclass::UpdateBufferType UpdateBufferType;
00075 
00077   itkStaticConstMacro(ImageDimension, unsigned int,
00078                       Superclass::ImageDimension );
00079 
00080 #ifdef ITK_USE_CONCEPT_CHECKING
00081 
00082   itkConceptMacro(InputHasNumericTraitsCheck,
00083     (Concept::HasNumericTraits<typename TInputImage::PixelType::ValueType>));
00084   itkConceptMacro(OutputHasNumericTraitsCheck,
00085     (Concept::HasNumericTraits<typename TOutputImage::PixelType::ValueType>));
00086 
00088 #endif
00089 
00090 protected:
00091   VectorGradientAnisotropicDiffusionImageFilter()
00092     {
00093     typename VectorGradientNDAnisotropicDiffusionFunction<UpdateBufferType>::Pointer p
00094       = VectorGradientNDAnisotropicDiffusionFunction<UpdateBufferType>::New();
00095     this->SetDifferenceFunction(p);
00096     }
00097   ~VectorGradientAnisotropicDiffusionImageFilter() {}
00098 
00099 private:
00100   VectorGradientAnisotropicDiffusionImageFilter(const Self&); //purposely not implemented
00101   void operator=(const Self&); //purposely not implemented
00102 };
00103 
00104 } // end namspace itk
00105 
00106 #endif
00107 

Generated at Tue Sep 15 05:17:25 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000