00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkDilateObjectMorphologyImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:46 $ 00007 Version: $Revision: 1.4 $ 00008 00009 Copyright (c) Insight Software 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 __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> 00072 OutputNeighborhoodIteratorType ; 00073 00074 protected: 00075 DilateObjectMorphologyImageFilter(); 00076 ~DilateObjectMorphologyImageFilter() {}; 00077 void PrintSelf(std::ostream& os, Indent indent) const; 00078 00083 void Evaluate(OutputNeighborhoodIteratorType &nit, 00084 const KernelType &kernel); 00085 00086 private: 00087 DilateObjectMorphologyImageFilter(const Self&); //purposely not implemented 00088 void operator=(const Self&); //purposely not implemented 00089 00090 } ; // end of class 00091 00092 } // end namespace itk 00093 00094 #ifndef ITK_MANUAL_INSTANTIATION 00095 #include "itkDilateObjectMorphologyImageFilter.txx" 00096 #endif 00097 00098 #endif 00099 00100