00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkBasicErodeImageFilter_h
00018 #define __itkBasicErodeImageFilter_h
00019
00020 #include "itkMorphologyImageFilter.h"
00021
00022 namespace itk {
00023
00043 template<class TInputImage, class TOutputImage, class TKernel>
00044 class ITK_EXPORT BasicErodeImageFilter :
00045 public MorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00046 {
00047 public:
00049 typedef BasicErodeImageFilter Self;
00050 typedef MorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00051 Superclass;
00052 typedef SmartPointer<Self> Pointer;
00053 typedef SmartPointer<const Self> ConstPointer;
00054
00056 itkNewMacro(Self);
00057
00059 itkTypeMacro(BasicErodeImageFilter,
00060 MorphologyImageFilter);
00061
00063 typedef typename Superclass::PixelType PixelType;
00064
00066 typedef typename Superclass::KernelIteratorType KernelIteratorType;
00067
00069 typedef typename Superclass::NeighborhoodIteratorType NeighborhoodIteratorType ;
00070
00072 typedef typename Superclass::KernelType KernelType;
00073
00075 typedef typename Superclass::DefaultBoundaryConditionType DefaultBoundaryConditionType;
00076
00077 protected:
00078 BasicErodeImageFilter();
00079 ~BasicErodeImageFilter() {};
00080
00087 virtual PixelType Evaluate(const NeighborhoodIteratorType &nit,
00088 const KernelIteratorType kernelBegin,
00089 const KernelIteratorType kernelEnd);
00090
00091 private:
00092 BasicErodeImageFilter(const Self&);
00093 void operator=(const Self&);
00094
00095
00096
00097 DefaultBoundaryConditionType m_ErodeBoundaryCondition;
00098
00099 } ;
00100
00101 }
00102
00103 #ifndef ITK_MANUAL_INSTANTIATION
00104 #include "itkBasicErodeImageFilter.txx"
00105 #endif
00106
00107 #endif
00108
00109
00110