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

itkScalarAnisotropicDiffusionFunction.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkScalarAnisotropicDiffusionFunction.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008/01/18 20:07:32 $
00007   Version:   $Revision: 1.12 $
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 __itkScalarAnisotropicDiffusionFunction_h_
00018 #define __itkScalarAnisotropicDiffusionFunction_h_
00019 
00020 
00021 #include "itkAnisotropicDiffusionFunction.h"
00022 
00023 namespace itk {
00024 
00038 template <class TImage>
00039 class ITK_EXPORT ScalarAnisotropicDiffusionFunction :
00040     public AnisotropicDiffusionFunction<TImage>
00041 {
00042 public:
00043 
00045   typedef ScalarAnisotropicDiffusionFunction Self;
00046   typedef AnisotropicDiffusionFunction<TImage> Superclass;
00047   typedef SmartPointer<Self> Pointer;
00048   typedef SmartPointer<const Self> ConstPointer;
00049 
00051   itkStaticConstMacro(ImageDimension, unsigned int,
00052                       Superclass::ImageDimension );
00053 
00055   typedef typename Superclass::ImageType        ImageType;
00056   typedef typename Superclass::PixelType        PixelType;
00057   typedef typename Superclass::PixelRealType    PixelRealType;
00058   typedef typename Superclass::RadiusType       RadiusType;
00059   typedef typename Superclass::NeighborhoodType NeighborhoodType;
00060   typedef typename Superclass::TimeStepType     TimeStepType;
00061 
00063   itkTypeMacro(ScalarAnisotropicDiffusionFunction,
00064                AnisotropicDiffusionFunction);
00065 
00066   virtual void CalculateAverageGradientMagnitudeSquared(TImage *);
00067 
00068 protected:
00069   ScalarAnisotropicDiffusionFunction() {}
00070   ~ScalarAnisotropicDiffusionFunction() {}
00071   void PrintSelf(std::ostream& os, Indent indent) const
00072   { Superclass::PrintSelf(os,indent); }
00073 private:
00074   ScalarAnisotropicDiffusionFunction(const Self&); //purposely not implemented
00075   void operator=(const Self&); //purposely not implemented
00076 };
00077 
00078 }// end namespace itk
00079 
00080 #ifndef ITK_MANUAL_INSTANTIATION
00081 #include "itkScalarAnisotropicDiffusionFunction.txx"
00082 #endif
00083 
00084 #endif
00085 

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