Orfeo Toolbox  3.16
itkGrayscaleFillholeImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkGrayscaleFillholeImageFilter.h,v $
5  Language: C++
6  Date: $Date: 2008-10-16 16:45:08 $
7  Version: $Revision: 1.8 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkGrayscaleFillholeImageFilter_h
18 #define __itkGrayscaleFillholeImageFilter_h
19 
20 #include "itkImageToImageFilter.h"
21 
22 namespace itk {
23 
53 template<class TInputImage, class TOutputImage>
55  public ImageToImageFilter<TInputImage, TOutputImage>
56 {
57 public:
64 
66  typedef TInputImage InputImageType;
67  typedef typename InputImageType::Pointer InputImagePointer;
68  typedef typename InputImageType::ConstPointer InputImageConstPointer;
69  typedef typename InputImageType::RegionType InputImageRegionType;
70  typedef typename InputImageType::PixelType InputImagePixelType;
71  typedef TOutputImage OutputImageType;
72  typedef typename OutputImageType::Pointer OutputImagePointer;
73  typedef typename OutputImageType::ConstPointer OutputImageConstPointer;
74  typedef typename OutputImageType::RegionType OutputImageRegionType;
75  typedef typename OutputImageType::PixelType OutputImagePixelType;
76 
78  itkStaticConstMacro(InputImageDimension, unsigned int,
79  TInputImage::ImageDimension);
80  itkStaticConstMacro(OutputImageDimension, unsigned int,
81  TOutputImage::ImageDimension);
82 
84  itkNewMacro(Self);
85 
87  itkTypeMacro(GrayscaleFillholeImageFilter,
89 
94  unsigned long GetNumberOfIterationsUsed()
95  {
97  return m_NumberOfIterationsUsed;
98  };
99 
106  itkSetMacro(FullyConnected, bool);
107  itkGetConstReferenceMacro(FullyConnected, bool);
108  itkBooleanMacro(FullyConnected);
109 
110 #ifdef ITK_USE_CONCEPT_CHECKING
111 
112  itkConceptMacro(InputOStreamWritableCheck,
115 #endif
116 
117 protected:
120  void PrintSelf(std::ostream& os, Indent indent) const;
121 
125  void GenerateInputRequestedRegion();
126 
128  void EnlargeOutputRequestedRegion(DataObject *itkNotUsed(output));
129 
132  void GenerateData();
133 
134 
135 private:
136  GrayscaleFillholeImageFilter(const Self&); //purposely not implemented
137  void operator=(const Self&); //purposely not implemented
138 
140 
142 }; // end of class
143 
144 } // end namespace itk
145 
146 #ifndef ITK_MANUAL_INSTANTIATION
148 #endif
149 
150 #endif

Generated at Sat Feb 2 2013 23:40:06 for Orfeo Toolbox with doxygen 1.8.1.1