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: 2006/03/28 19:59:05 $
00007   Version:   $Revision: 1.3 $
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);
00087 
00089   itkNewMacro(Self);  
00090 
00092   itkTypeMacro(GrayscaleGrindPeakImageFilter, 
00093                ImageToImageFilter);
00094 
00099   unsigned long GetNumberOfIterationsUsed()
00100     { itkLegacyBody(itk::GrayscaleGrindPeakImageFilter::GetNumberOfIterationsUsed, 2.2);
00101       return m_NumberOfIterationsUsed; };
00103 
00110   itkSetMacro(FullyConnected, bool);
00111   itkGetConstReferenceMacro(FullyConnected, bool);
00112   itkBooleanMacro(FullyConnected);
00114 
00115 #ifdef ITK_USE_CONCEPT_CHECKING
00116 
00117   itkConceptMacro(InputOStreamWritableCheck,
00118                   (Concept::OStreamWritable<InputImagePixelType>));
00119 
00121 #endif
00122 
00123 protected:
00124   GrayscaleGrindPeakImageFilter();
00125   ~GrayscaleGrindPeakImageFilter() {};
00126   void PrintSelf(std::ostream& os, Indent indent) const;
00127 
00131   void GenerateInputRequestedRegion() ;
00132 
00134   void EnlargeOutputRequestedRegion(DataObject *itkNotUsed(output));
00135 
00138   void GenerateData();
00139 
00140 
00141 private:
00142   GrayscaleGrindPeakImageFilter(const Self&); //purposely not implemented
00143   void operator=(const Self&); //purposely not implemented
00144 
00145   unsigned long m_NumberOfIterationsUsed;
00146 
00147   bool                m_FullyConnected;
00148 } ; // end of class
00149 
00150 } // end namespace itk
00151   
00152 #ifndef ITK_MANUAL_INSTANTIATION
00153 #include "itkGrayscaleGrindPeakImageFilter.txx"
00154 #endif
00155 
00156 #endif
00157 
00158 
00159 

Generated at Fri Sep 8 03:12:57 2006 for ITK by doxygen 1.4.7 written by Dimitri van Heesch, © 1997-2000