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

itkCurvatureAnisotropicDiffusionImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkCurvatureAnisotropicDiffusionImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/09/11 19:39:01 $
00007   Version:   $Revision: 1.22 $
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 __itkCurvatureAnisotropicDiffusionImageFilter_h_
00018 #define __itkCurvatureAnisotropicDiffusionImageFilter_h_
00019 
00020 #include "itkAnisotropicDiffusionImageFilter.h"
00021 #include "itkCurvatureNDAnisotropicDiffusionFunction.h"
00022 
00023 namespace itk {
00024 
00042 template <class TInputImage, class TOutputImage>
00043 class CurvatureAnisotropicDiffusionImageFilter
00044   : public AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00045 {
00046 public:
00048   typedef CurvatureAnisotropicDiffusionImageFilter Self;
00049   typedef AnisotropicDiffusionImageFilter<TInputImage, TOutputImage>
00050    Superclass;
00051   typedef SmartPointer<Self> Pointer;
00052   typedef SmartPointer<const Self> ConstPointer;
00053 
00055   itkNewMacro(Self);
00056 
00058   itkTypeMacro(CurvatureAnisotropicDiffusionImageFilter,
00059                AnisotropicDiffusionImageFilter);
00060   
00062   typedef typename Superclass::UpdateBufferType UpdateBufferType;
00063   
00065   itkStaticConstMacro(ImageDimension, unsigned int,
00066                       Superclass::ImageDimension);
00067   
00068 protected:
00069   CurvatureAnisotropicDiffusionImageFilter()
00070     {
00071       typename CurvatureNDAnisotropicDiffusionFunction<UpdateBufferType>::Pointer q
00072           = CurvatureNDAnisotropicDiffusionFunction<UpdateBufferType>::New();
00073       this->SetDifferenceFunction(q);
00074     }
00075   ~CurvatureAnisotropicDiffusionImageFilter() {}
00076   void PrintSelf(std::ostream& os, Indent indent) const
00077     {
00078       Superclass::PrintSelf(os,indent);
00079     }
00080 
00081 private:
00082   CurvatureAnisotropicDiffusionImageFilter(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 Fri May 21 01:14:36 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000