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

itkReconstructionByErosionImageFilter.h

Go to the documentation of this file.
00001 #ifndef __itkReconstructionByErosionImageFilter_h
00002 #define __itkReconstructionByErosionImageFilter_h
00003 
00004 #include "itkReconstructionImageFilter.h"
00005 
00006 #include "itkNumericTraits.h"
00007 
00008 namespace itk {
00042 template <class TInputImage, class TOutputImage>
00043 class ITK_EXPORT ReconstructionByErosionImageFilter :
00044   public ReconstructionImageFilter<TInputImage, TOutputImage, std::less<typename TOutputImage::PixelType> >
00045 {
00046 public:
00047   typedef ReconstructionByErosionImageFilter Self;
00048   typedef ReconstructionImageFilter<TInputImage, TOutputImage, std::less<typename TOutputImage::PixelType> > Superclass;
00049 
00050   typedef SmartPointer<Self>   Pointer;
00051   typedef SmartPointer<const Self>  ConstPointer;
00052 
00054   typedef TInputImage MarkerImageType;
00055   typedef TInputImage MaskImageType;
00056   typedef TOutputImage OutputImageType;
00057   typedef typename MarkerImageType::Pointer        MarkerImagePointer;
00058   typedef typename MarkerImageType::ConstPointer   MarkerImageConstPointer;
00059   typedef typename MarkerImageType::RegionType     MarkerImageRegionType;
00060   typedef typename MarkerImageType::PixelType      MarkerImagePixelType;
00061   typedef typename MaskImageType::Pointer          MaskImagePointer;
00062   typedef typename MaskImageType::ConstPointer     MaskImageConstPointer;
00063   typedef typename MaskImageType::RegionType       MaskImageRegionType;
00064   typedef typename MaskImageType::PixelType        MaskImagePixelType;
00065   typedef typename OutputImageType::Pointer        OutputImagePointer;
00066   typedef typename OutputImageType::ConstPointer   OutputImageConstPointer;
00067   typedef typename OutputImageType::RegionType     OutputImageRegionType;
00068   typedef typename OutputImageType::PixelType      OutputImagePixelType;
00069 
00071   itkStaticConstMacro(MarkerImageDimension, unsigned int,
00072                       TInputImage::ImageDimension);
00073   itkStaticConstMacro(MaskImageDimension, unsigned int,
00074                       TInputImage::ImageDimension);
00075   itkStaticConstMacro(OutputImageDimension, unsigned int,
00076                       TOutputImage::ImageDimension);
00078 
00080   itkNewMacro(Self);
00081 
00082 
00083 protected:
00084   ReconstructionByErosionImageFilter()
00085     {
00086     this->m_MarkerValue = NumericTraits<ITK_TYPENAME TOutputImage::PixelType>::max();
00087     }
00088   virtual ~ReconstructionByErosionImageFilter() {}
00089 
00090 private:
00091   ReconstructionByErosionImageFilter(const Self&); //purposely not implemented
00092   void operator=(const Self&); //purposely not implemented
00093 
00094 
00095 
00096 }; // end ReconstructionByErosionImageFilter
00097 
00098 
00099 
00100 }
00101 
00102 #endif
00103 

Generated at Mon Mar 12 02:34:15 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000