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

itkMovingHistogramDilateImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkMovingHistogramDilateImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-09-30 18:07:03 $
00007   Version:   $Revision: 1.2 $
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 __itkMovingHistogramDilateImageFilter_h
00018 #define __itkMovingHistogramDilateImageFilter_h
00019 
00020 #include "itkMovingHistogramMorphologyImageFilter.h"
00021 
00022 namespace itk {
00023 
00040 template<class TInputImage, class TOutputImage, class TKernel>
00041 class ITK_EXPORT MovingHistogramDilateImageFilter : 
00042     public MovingHistogramMorphologyImageFilter<TInputImage, TOutputImage, TKernel,
00043       typename Function::MorphologyHistogram < typename TInputImage::PixelType, typename std::greater<typename TInputImage::PixelType> > >
00044 {
00045 public:
00047   typedef MovingHistogramDilateImageFilter Self;
00048   typedef MovingHistogramMorphologyImageFilter<TInputImage, TOutputImage, TKernel,
00049       typename Function::MorphologyHistogram < typename TInputImage::PixelType, typename std::greater<typename TInputImage::PixelType> > >  Superclass;
00050   typedef SmartPointer<Self>        Pointer;
00051   typedef SmartPointer<const Self>  ConstPointer;
00052 
00054   itkNewMacro(Self);  
00055 
00057   itkTypeMacro(MovingHistogramDilateImageFilter, 
00058                MovingHistogramMorphologyImageFilter);
00059 
00061   typedef TInputImage                                 InputImageType;
00062   typedef TOutputImage                                OutputImageType;
00063   typedef typename TInputImage::RegionType            RegionType;
00064   typedef typename TInputImage::SizeType              SizeType;
00065   typedef typename TInputImage::IndexType             IndexType;
00066   typedef typename TInputImage::PixelType             PixelType;
00067   typedef typename TInputImage::OffsetType            OffsetType;
00068   typedef typename Superclass::OutputImageRegionType  OutputImageRegionType;
00069   typedef typename TOutputImage::PixelType            OutputPixelType;
00070 
00072   itkStaticConstMacro(ImageDimension, unsigned int,
00073                       TInputImage::ImageDimension);
00074 
00075 
00076 protected:
00077   MovingHistogramDilateImageFilter()
00078     {
00079     this->m_Boundary = NumericTraits< PixelType >::NonpositiveMin();
00080     }
00081   ~MovingHistogramDilateImageFilter() {};
00082 
00083 private:
00084   MovingHistogramDilateImageFilter(const Self&); //purposely not implemented
00085   void operator=(const Self&); //purposely not implemented
00086 
00087 }; // end of class
00088 
00089 } // end namespace itk
00090   
00091 #endif
00092 

Generated at Tue Sep 15 04:00:30 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000