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: 2008-10-16 16:45:09 $
00007   Version:   $Revision: 1.6 $
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   Portions of this code are covered under the VTK copyright.
00013   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even 
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 =========================================================================*/
00020 #ifndef __itkGrayscaleGrindPeakImageFilter_h
00021 #define __itkGrayscaleGrindPeakImageFilter_h
00022 
00023 #include "itkImageToImageFilter.h"
00024 
00025 namespace itk {
00026 
00060 template<class TInputImage, class TOutputImage>
00061 class ITK_EXPORT GrayscaleGrindPeakImageFilter : 
00062   public ImageToImageFilter<TInputImage, TOutputImage>
00063 {
00064 public:
00066   typedef GrayscaleGrindPeakImageFilter Self;
00067   typedef ImageToImageFilter<TInputImage, TOutputImage>
00068                                         Superclass;
00069   typedef SmartPointer<Self>            Pointer;
00070   typedef SmartPointer<const Self>      ConstPointer;
00071 
00073   typedef TInputImage                              InputImageType;
00074   typedef typename InputImageType::Pointer         InputImagePointer;
00075   typedef typename InputImageType::ConstPointer    InputImageConstPointer;
00076   typedef typename InputImageType::RegionType      InputImageRegionType;
00077   typedef typename InputImageType::PixelType       InputImagePixelType;
00078   typedef TOutputImage                             OutputImageType;
00079   typedef typename OutputImageType::Pointer        OutputImagePointer;
00080   typedef typename OutputImageType::ConstPointer   OutputImageConstPointer;
00081   typedef typename OutputImageType::RegionType     OutputImageRegionType;
00082   typedef typename OutputImageType::PixelType      OutputImagePixelType;
00083 
00085   itkStaticConstMacro(InputImageDimension, unsigned int,
00086                       TInputImage::ImageDimension);
00087   itkStaticConstMacro(OutputImageDimension, unsigned int,
00088                       TOutputImage::ImageDimension);
00090 
00092   itkNewMacro(Self);  
00093 
00095   itkTypeMacro(GrayscaleGrindPeakImageFilter, 
00096                ImageToImageFilter);
00097 
00102   unsigned long GetNumberOfIterationsUsed()
00103     { 
00104     itkLegacyBodyMacro(itk::GrayscaleGrindPeakImageFilter::GetNumberOfIterationsUsed, 2.2);
00105     return m_NumberOfIterationsUsed;
00106     };
00108 
00115   itkSetMacro(FullyConnected, bool);
00116   itkGetConstReferenceMacro(FullyConnected, bool);
00117   itkBooleanMacro(FullyConnected);
00119 
00120 #ifdef ITK_USE_CONCEPT_CHECKING
00121 
00122   itkConceptMacro(InputOStreamWritableCheck,
00123                   (Concept::OStreamWritable<InputImagePixelType>));
00124 
00126 #endif
00127 
00128 protected:
00129   GrayscaleGrindPeakImageFilter();
00130   ~GrayscaleGrindPeakImageFilter() {};
00131   void PrintSelf(std::ostream& os, Indent indent) const;
00132 
00136   void GenerateInputRequestedRegion();
00137 
00139   void EnlargeOutputRequestedRegion(DataObject *itkNotUsed(output));
00140 
00143   void GenerateData();
00144 
00145 
00146 private:
00147   GrayscaleGrindPeakImageFilter(const Self&); //purposely not implemented
00148   void operator=(const Self&); //purposely not implemented
00149 
00150   unsigned long m_NumberOfIterationsUsed;
00151 
00152   bool                m_FullyConnected;
00153 }; // end of class
00154 
00155 } // end namespace itk
00156   
00157 #ifndef ITK_MANUAL_INSTANTIATION
00158 #include "itkGrayscaleGrindPeakImageFilter.txx"
00159 #endif
00160 
00161 #endif
00162 

Generated at Mon Jul 12 2010 18:29:11 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000