Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkDilateObjectMorphologyImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkDilateObjectMorphologyImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2006/03/27 17:01:06 $
00007   Version:   $Revision: 1.6 $
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> OutputNeighborhoodIteratorType ;
00072 
00073   typedef typename Superclass::DefaultBoundaryConditionType 
00074                                              DefaultBoundaryConditionType ;
00075 
00076 #ifdef ITK_USE_CONCEPT_CHECKING
00077 
00078   itkConceptMacro(KernelGreaterThanIntCheck,
00079     (Concept::GreaterThanComparable<typename TKernel::PixelType, int>));
00080 
00082 #endif
00083 
00084 protected:
00085   DilateObjectMorphologyImageFilter();
00086   ~DilateObjectMorphologyImageFilter() {};
00087   void PrintSelf(std::ostream& os, Indent indent) const;
00088 
00093   void Evaluate(OutputNeighborhoodIteratorType &nit,
00094                 const KernelType &kernel);
00095 
00096 private:
00097   DilateObjectMorphologyImageFilter(const Self&); //purposely not implemented
00098   void operator=(const Self&); //purposely not implemented
00099 
00100   // Default boundary condition for dilation filter, defaults to
00101   // NumericTraits<PixelType>::NonpositiveMin()
00102   DefaultBoundaryConditionType m_DilateBoundaryCondition;
00103 
00104 
00105 } ; // end of class
00106 
00107 } // end namespace itk
00108   
00109 #ifndef ITK_MANUAL_INSTANTIATION
00110 #include "itkDilateObjectMorphologyImageFilter.txx"
00111 #endif
00112 
00113 #endif
00114 
00115 
00116 

Generated at Sun Sep 23 12:24:19 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000