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

itkGrayscaleConnectedOpeningImageFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkGrayscaleConnectedOpeningImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:48 $ 00007 Version: $Revision: 1.4 $ 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 __itkConnectedOpeningImageFilter_h 00018 #define __itkConnectedOpeningImageFilter_h 00019 00020 #include "itkImageToImageFilter.h" 00021 00022 namespace itk { 00023 00043 template<class TInputImage, class TOutputImage> 00044 class ITK_EXPORT GrayscaleConnectedOpeningImageFilter : 00045 public ImageToImageFilter<TInputImage, TOutputImage> 00046 { 00047 public: 00049 typedef GrayscaleConnectedOpeningImageFilter Self; 00050 typedef ImageToImageFilter<TInputImage, TOutputImage> 00051 Superclass; 00052 typedef SmartPointer<Self> Pointer; 00053 typedef SmartPointer<const Self> ConstPointer; 00054 00056 typedef TInputImage InputImageType; 00057 typedef TOutputImage OutputImageType; 00058 typedef typename InputImageType::Pointer InputImagePointer; 00059 typedef typename InputImageType::ConstPointer InputImageConstPointer; 00060 typedef typename InputImageType::RegionType InputImageRegionType; 00061 typedef typename InputImageType::PixelType InputImagePixelType; 00062 typedef typename InputImageRegionType::IndexType InputImageIndexType; 00063 typedef typename OutputImageType::Pointer OutputImagePointer; 00064 typedef typename OutputImageType::ConstPointer OutputImageConstPointer; 00065 typedef typename OutputImageType::RegionType OutputImageRegionType; 00066 typedef typename OutputImageType::PixelType OutputImagePixelType; 00067 00069 itkStaticConstMacro(InputImageDimension, unsigned int, 00070 TInputImage::ImageDimension); 00071 itkStaticConstMacro(OutputImageDimension, unsigned int, 00072 TOutputImage::ImageDimension); 00073 00075 itkNewMacro(Self); 00076 00078 itkTypeMacro(GrayscaleConnectedOpeningImageFilter, 00079 ImageToImageFilter); 00080 00082 itkSetMacro(Seed, InputImageIndexType); 00083 itkGetMacro(Seed, InputImageIndexType); 00084 00087 itkGetMacro(NumberOfIterationsUsed, unsigned long); 00088 00089 protected: 00090 GrayscaleConnectedOpeningImageFilter(); 00091 ~GrayscaleConnectedOpeningImageFilter() {}; 00092 void PrintSelf(std::ostream& os, Indent indent) const; 00093 00097 void GenerateInputRequestedRegion() ; 00098 00100 void EnlargeOutputRequestedRegion(DataObject *itkNotUsed(output)); 00101 00104 void GenerateData(); 00105 00106 00107 private: 00108 GrayscaleConnectedOpeningImageFilter(const Self&); //purposely not implemented 00109 void operator=(const Self&); //purposely not implemented 00110 00111 unsigned long m_NumberOfIterationsUsed; 00112 InputImageIndexType m_Seed; 00113 00114 } ; // end of class 00115 00116 } // end namespace itk 00117 00118 #ifndef ITK_MANUAL_INSTANTIATION 00119 #include "itkGrayscaleConnectedOpeningImageFilter.txx" 00120 #endif 00121 00122 #endif 00123 00124

Generated at Sun Apr 1 02:30:59 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000