Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkDilateObjectMorphologyImageFilter_h
00018 #define __itkDilateObjectMorphologyImageFilter_h
00019
00020 #include "itkObjectMorphologyImageFilter.h"
00021
00022 namespace itk {
00023
00043 template<class TInputImage, class TOutputImage, class TKernel>
00044 class ITK_EXPORT DilateObjectMorphologyImageFilter :
00045 public ObjectMorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00046 {
00047 public:
00049 typedef DilateObjectMorphologyImageFilter Self;
00050 typedef ObjectMorphologyImageFilter<TInputImage, TOutputImage, TKernel>
00051 Superclass;
00052 typedef SmartPointer<Self> Pointer;
00053 typedef SmartPointer<const Self> ConstPointer;
00054
00056 itkNewMacro(Self);
00057
00059 itkTypeMacro(DilateObjectMorphologyImageFilter, ObjectMorphologyImageFilter);
00060
00062 typedef typename Superclass::PixelType PixelType;
00063
00065 typedef TKernel KernelType;
00066
00068 typedef typename KernelType::ConstIterator KernelIteratorType;
00069
00071 typedef NeighborhoodIterator<TOutputImage> OutputNeighborhoodIteratorType;
00072
00073 typedef typename Superclass::DefaultBoundaryConditionType
00074 DefaultBoundaryConditionType;
00075
00077 typedef typename TKernel::PixelType KernelPixelType;
00078
00079 #ifdef ITK_USE_CONCEPT_CHECKING
00080
00081 itkConceptMacro(KernelGreaterThanComparableCheck,
00082 (Concept::GreaterThanComparable<KernelPixelType>));
00083
00085 #endif
00086
00087 protected:
00088 DilateObjectMorphologyImageFilter();
00089 ~DilateObjectMorphologyImageFilter() {};
00090 void PrintSelf(std::ostream& os, Indent indent) const;
00091
00096 void Evaluate(OutputNeighborhoodIteratorType &nit,
00097 const KernelType &kernel);
00098
00099 private:
00100 DilateObjectMorphologyImageFilter(const Self&);
00101 void operator=(const Self&);
00102
00103
00104
00105 DefaultBoundaryConditionType m_DilateBoundaryCondition;
00106
00107
00108 };
00109
00110 }
00111
00112 #ifndef ITK_MANUAL_INSTANTIATION
00113 #include "itkDilateObjectMorphologyImageFilter.txx"
00114 #endif
00115
00116 #endif
00117