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

itkGrayscaleDilateImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGrayscaleDilateImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/02/02 03:01:39 $
00007   Version:   $Revision: 1.10 $
00008 
00009   Copyright (c) 2002 Insight 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 __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   typedef typename Superclass::SmartNeighborhoodIteratorType SmartNeighborhoodIteratorType ;
00073 
00075   typedef typename Superclass::KernelType KernelType;
00076 
00077 protected:
00078   GrayscaleDilateImageFilter() {};
00079   ~GrayscaleDilateImageFilter() {};
00080 
00087   PixelType Evaluate(const NeighborhoodIteratorType &nit,
00088                      const KernelType &kernel);
00089 
00096   PixelType Evaluate(const SmartNeighborhoodIteratorType &nit,
00097                      const KernelType &kernel);
00098   
00099 private:
00100   GrayscaleDilateImageFilter(const Self&); //purposely not implemented
00101   void operator=(const Self&); //purposely not implemented
00102 } ; // end of class
00103 
00104 } // end namespace itk
00105   
00106 #ifndef ITK_MANUAL_INSTANTIATION
00107 #include "itkGrayscaleDilateImageFilter.txx"
00108 #endif
00109 
00110 #endif
00111 
00112 

Generated at Wed Mar 12 01:12:59 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000