00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
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
00076 typedef typename Superclass::KernelType KernelType;
00077
00078 protected:
00079 GrayscaleFunctionErodeImageFilter() {};
00080 ~GrayscaleFunctionErodeImageFilter() {};
00081
00089 PixelType Evaluate(const NeighborhoodIteratorType &nit,
00090 const KernelIteratorType kernelBegin,
00091 const KernelIteratorType kernelEnd);
00092
00093 private:
00094 GrayscaleFunctionErodeImageFilter(const Self&);
00095 void operator=(const Self&);
00096
00097 } ;
00098
00099 }
00100
00101 #ifndef ITK_MANUAL_INSTANTIATION
00102 #include "itkGrayscaleFunctionErodeImageFilter.txx"
00103 #endif
00104
00105 #endif
00106
00107