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

itkGrayscaleFunctionErodeImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGrayscaleFunctionErodeImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/02/02 03:01:40 $
00007   Version:   $Revision: 1.9 $
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 __itkGrayscaleFunctionErodeImageFilter_h
00018 #define __itkGrayscaleFunctionErodeImageFilter_h
00019 
00020 #include "itkMorphologyImageFilter.h"
00021 
00022 namespace itk {
00023 
00047 template<class TInputImage, class TOutputImage, class TKernel>
00048 class ITK_EXPORT GrayscaleFunctionErodeImageFilter : 
00049   public MorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00050 {
00051 public:
00053   typedef GrayscaleFunctionErodeImageFilter Self;
00054   typedef MorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00055     Superclass;
00056   typedef SmartPointer<Self>        Pointer;
00057   typedef SmartPointer<const Self>  ConstPointer;
00058   
00060   itkNewMacro(Self);  
00061 
00063   itkTypeMacro(GrayscaleFunctionErodeImageFilter, 
00064                MorphologyImageFilter);
00065   
00067   typedef typename Superclass::PixelType PixelType;
00068 
00070   typedef typename Superclass::KernelIteratorType  KernelIteratorType;
00071  
00073   typedef typename Superclass::NeighborhoodIteratorType NeighborhoodIteratorType ;
00074   typedef typename Superclass::SmartNeighborhoodIteratorType SmartNeighborhoodIteratorType ;
00075 
00077   typedef typename Superclass::KernelType KernelType;
00078 
00079 protected:
00080   GrayscaleFunctionErodeImageFilter() {};
00081   ~GrayscaleFunctionErodeImageFilter() {};
00082 
00090   PixelType Evaluate(const NeighborhoodIteratorType &nit,
00091                      const KernelType &kernel);
00092 
00100   PixelType Evaluate(const SmartNeighborhoodIteratorType &nit,
00101                      const KernelType &kernel);
00102 
00103  private:
00104   GrayscaleFunctionErodeImageFilter(const Self&); //purposely not implemented
00105   void operator=(const Self&); //purposely not implemented
00106 
00107 } ; // end of class
00108 
00109 } // end namespace itk
00110   
00111 #ifndef ITK_MANUAL_INSTANTIATION
00112 #include "itkGrayscaleFunctionErodeImageFilter.txx"
00113 #endif
00114 
00115 #endif
00116 
00117 

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