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

itkGrayscaleGrindPeakImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGrayscaleGrindPeakImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2004/03/31 01:01:55 $
00007   Version:   $Revision: 1.1 $
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 __itkGrindPeakImageFilter_h
00018 #define __itkGrindPeakImageFilter_h
00019 
00020 #include "itkImageToImageFilter.h"
00021 
00022 namespace itk {
00023 
00057 template<class TInputImage, class TOutputImage>
00058 class ITK_EXPORT GrayscaleGrindPeakImageFilter : 
00059   public ImageToImageFilter<TInputImage, TOutputImage>
00060 {
00061 public:
00063   typedef GrayscaleGrindPeakImageFilter Self;
00064   typedef ImageToImageFilter<TInputImage, TOutputImage>
00065     Superclass;
00066   typedef SmartPointer<Self>        Pointer;
00067   typedef SmartPointer<const Self>  ConstPointer;
00068 
00070   typedef TInputImage InputImageType;
00071   typedef TOutputImage OutputImageType;
00072   typedef typename InputImageType::Pointer         InputImagePointer;
00073   typedef typename InputImageType::ConstPointer    InputImageConstPointer;
00074   typedef typename InputImageType::RegionType      InputImageRegionType;
00075   typedef typename InputImageType::PixelType       InputImagePixelType;
00076   typedef typename OutputImageType::Pointer        OutputImagePointer;
00077   typedef typename OutputImageType::ConstPointer   OutputImageConstPointer;
00078   typedef typename OutputImageType::RegionType     OutputImageRegionType;
00079   typedef typename OutputImageType::PixelType      OutputImagePixelType;
00080   
00082   itkStaticConstMacro(InputImageDimension, unsigned int,
00083                       TInputImage::ImageDimension);
00084   itkStaticConstMacro(OutputImageDimension, unsigned int,
00085                       TOutputImage::ImageDimension);
00086 
00088   itkNewMacro(Self);  
00089 
00091   itkTypeMacro(GrayscaleGrindPeakImageFilter, 
00092                ImageToImageFilter);
00093   
00096   itkGetMacro(NumberOfIterationsUsed, unsigned long);
00097 
00098 protected:
00099   GrayscaleGrindPeakImageFilter();
00100   ~GrayscaleGrindPeakImageFilter() {};
00101   void PrintSelf(std::ostream& os, Indent indent) const;
00102 
00106   void GenerateInputRequestedRegion() ;
00107 
00109   void EnlargeOutputRequestedRegion(DataObject *itkNotUsed(output));
00110   
00113   void GenerateData();
00114   
00115 
00116 private:
00117   GrayscaleGrindPeakImageFilter(const Self&); //purposely not implemented
00118   void operator=(const Self&); //purposely not implemented
00119 
00120   unsigned long m_NumberOfIterationsUsed;
00121 } ; // end of class
00122 
00123 } // end namespace itk
00124   
00125 #ifndef ITK_MANUAL_INSTANTIATION
00126 #include "itkGrayscaleGrindPeakImageFilter.txx"
00127 #endif
00128 
00129 #endif
00130 
00131 

Generated at Tue Mar 29 23:53:30 2005 for ITK by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2000