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

itkRegionGrowImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkRegionGrowImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/03/26 04:22:28 $
00007   Version:   $Revision: 1.14 $
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 _itkRegionGrowImageFilter_h
00018 #define _itkRegionGrowImageFilter_h
00019 
00020 #include "itkObject.h"
00021 #include "itkImageToImageFilter.h"
00022 
00023 namespace itk
00024 {
00025 
00075 template <class TInputImage, class TOutputImage>
00076 class ITK_EXPORT RegionGrowImageFilter : 
00077   public ImageToImageFilter<TInputImage,TOutputImage>
00078 {
00079 public:
00081   typedef RegionGrowImageFilter   Self;
00082   typedef Object Superclass;
00083   typedef SmartPointer<Self>  Pointer;
00084   typedef SmartPointer<const Self>  ConstPointer;
00085 
00087   itkNewMacro(Self);
00088 
00090   itkTypeMacro(RegionGrowImageFilter,Object);
00091 
00093   typedef TInputImage                           InputImageType;
00094   typedef typename TInputImage::Pointer         InputImagePointer;
00095   typedef typename TInputImage::ConstPointer    InputImageConstPointer;
00096 
00098   typedef typename TInputImage::PixelType InputImagePixelType;
00099 
00101   typedef TOutputImage                          OutputImageType;
00102   typedef typename TOutputImage::Pointer        OutputImagePointer;
00103 
00105   typedef typename TOutputImage::PixelType OutputImagePixelType;
00106 
00108   itkSetMacro(MaximumNumberOfRegions, unsigned int);
00109   itkGetMacro(MaximumNumberOfRegions, unsigned int);
00110 
00112   itkSetMacro(RowGridSize, unsigned int);
00113   itkGetMacro(RowGridSize, unsigned int);
00114 
00116   itkSetMacro(ColGridSize, unsigned int);
00117   itkGetMacro(ColGridSize, unsigned int);
00118 
00120   itkSetMacro(SliceGridSize, unsigned int);
00121   itkGetMacro(SliceGridSize, unsigned int);
00122 
00124   virtual void ApplyRegionGrowImageFilter(){};
00125 
00127   virtual void MergeRegions(){};
00128 
00129 protected:
00130   RegionGrowImageFilter();
00131   ~RegionGrowImageFilter();
00132   void PrintSelf(std::ostream& os, Indent indent) const;
00133 
00134 private:
00135   RegionGrowImageFilter(const Self&); //purposely not implemented
00136   void operator=(const Self&); //purposely not implemented
00137   
00138   unsigned int    m_MaximumNumberOfRegions;
00139   unsigned int    m_RowGridSize;
00140   unsigned int    m_ColGridSize;
00141   unsigned int    m_SliceGridSize;
00142 
00143 }; // class RegionGrowImageFilter
00144 
00145 } // namespace itk
00146 
00147 #ifndef ITK_MANUAL_INSTANTIATION
00148 #include "itkRegionGrowImageFilter.txx"
00149 #endif
00150 
00151 
00152 
00153 #endif
00154 
00155 
00156 
00157 
00158 
00159 
00160 
00161 
00162 

Generated at Wed Mar 12 01:13:10 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000