00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkGrayscaleDilateImageFilter_h
00018 #define __itkGrayscaleDilateImageFilter_h
00019
00020 #include "itkMorphologyImageFilter.h"
00021
00022 namespace itk {
00023
00045 template<class TInputImage, class TOutputImage, class TKernel>
00046 class ITK_EXPORT GrayscaleDilateImageFilter :
00047 public MorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00048 {
00049 public:
00051 typedef GrayscaleDilateImageFilter Self;
00052 typedef MorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00053 Superclass;
00054 typedef SmartPointer<Self> Pointer;
00055 typedef SmartPointer<const Self> ConstPointer;
00056
00058 itkNewMacro(Self);
00059
00061 itkTypeMacro(GrayscaleDilateImageFilter,
00062 MorphologyImageFilter);
00063
00065 typedef typename Superclass::PixelType PixelType;
00066
00068 typedef typename Superclass::KernelIteratorType KernelIteratorType;
00069
00071 typedef typename Superclass::NeighborhoodIteratorType NeighborhoodIteratorType ;
00072
00074 typedef typename Superclass::KernelType KernelType;
00075
00077 typedef typename Superclass::DefaultBoundaryConditionType DefaultBoundaryConditionType;
00078
00079 protected:
00080 GrayscaleDilateImageFilter();
00081 ~GrayscaleDilateImageFilter() {};
00082
00089 PixelType Evaluate(const NeighborhoodIteratorType &nit,
00090 const KernelIteratorType kernelBegin,
00091 const KernelIteratorType kernelEnd);
00092
00093 private:
00094 GrayscaleDilateImageFilter(const Self&);
00095 void operator=(const Self&);
00096
00097
00098
00099 DefaultBoundaryConditionType m_DilateBoundaryCondition;
00100
00101 } ;
00102
00103 }
00104
00105 #ifndef ITK_MANUAL_INSTANTIATION
00106 #include "itkGrayscaleDilateImageFilter.txx"
00107 #endif
00108
00109 #endif
00110
00111