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

itkAnchorErodeImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkAnchorErodeImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-09-30 18:07:03 $
00007   Version:   $Revision: 1.3 $
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 
00018 #ifndef __itkAnchorErodeImageFilter_h
00019 #define __itkAnchorErodeImageFilter_h
00020 
00021 #include "itkAnchorErodeDilateImageFilter.h"
00022 
00023 namespace itk {
00024 
00025 template<class TImage, class TKernel>
00026 class  ITK_EXPORT AnchorErodeImageFilter :
00027     public AnchorErodeDilateImageFilter<TImage, TKernel, std::less<typename TImage::PixelType>, std::less_equal<typename TImage::PixelType> >
00028 
00029 {
00030 public:
00031   typedef AnchorErodeImageFilter Self;
00032   typedef AnchorErodeDilateImageFilter<TImage, TKernel, std::less<typename TImage::PixelType>, std::less_equal<typename TImage::PixelType> > Superclass;
00033 
00035   itkTypeMacro(AnchorErodeImageFilter, 
00036                AnchorErodeDilateImageFilter);
00037 
00038   typedef SmartPointer<Self>        Pointer;
00039   typedef SmartPointer<const Self>  ConstPointer;
00040 
00042   itkNewMacro(Self);
00043 
00044   virtual ~AnchorErodeImageFilter() {}
00045 protected:
00046 
00047   typedef typename TImage::PixelType  PixelType;
00048 
00049   AnchorErodeImageFilter()
00050     {
00051     this->m_Boundary = NumericTraits< PixelType >::max();
00052     }
00053   void PrintSelf(std::ostream& os, Indent indent) const
00054     {
00055     os << indent << "Anchor erosion: " << std::endl;
00056     }
00057 
00058 private:
00059   
00060   AnchorErodeImageFilter(const Self&); //purposely not implemented
00061   void operator=(const Self&); //purposely not implemented
00062 
00063 };
00064 
00065 
00066 } // namespace itk
00067 
00068 #endif
00069 

Generated at Sat Feb 28 11:57:14 2009 for ITK by doxygen 1.5.6 written by Dimitri van Heesch, © 1997-2000