Orfeo Toolbox  3.16
itkClosingByReconstructionImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkClosingByReconstructionImageFilter.h,v $
5  Language: C++
6  Date: $Date: 2009-01-28 18:14:36 $
7  Version: $Revision: 1.5 $
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 __itkClosingByReconstructionImageFilter_h
18 #define __itkClosingByReconstructionImageFilter_h
19 
20 #include "itkImageToImageFilter.h"
21 
22 namespace itk {
23 
49 template<class TInputImage, class TOutputImage, class TKernel>
51  public ImageToImageFilter<TInputImage, TOutputImage>
52 {
53 public:
59 
61  typedef TInputImage InputImageType;
62  typedef typename InputImageType::Pointer InputImagePointer;
63  typedef typename InputImageType::ConstPointer InputImageConstPointer;
64  typedef typename InputImageType::RegionType InputImageRegionType;
65  typedef typename InputImageType::PixelType InputImagePixelType;
66 
67  typedef TOutputImage OutputImageType;
68  typedef typename OutputImageType::Pointer OutputImagePointer;
69  typedef typename OutputImageType::ConstPointer OutputImageConstPointer;
70  typedef typename OutputImageType::RegionType OutputImageRegionType;
71  typedef typename OutputImageType::PixelType OutputImagePixelType;
72 
74  typedef TKernel KernelType;
75 
77  itkStaticConstMacro(InputImageDimension, unsigned int,
78  TInputImage::ImageDimension);
79  itkStaticConstMacro(OutputImageDimension, unsigned int,
80  TOutputImage::ImageDimension);
81 
83  itkNewMacro(Self);
84 
88 
90  itkSetMacro(Kernel, KernelType);
91 
93  itkGetConstReferenceMacro(Kernel, KernelType);
94 
101  itkSetMacro(FullyConnected, bool);
102  itkGetConstReferenceMacro(FullyConnected, bool);
103  itkBooleanMacro(FullyConnected);
104 
109  itkSetMacro(PreserveIntensities, bool);
110  itkGetConstReferenceMacro(PreserveIntensities, bool);
111  itkBooleanMacro(PreserveIntensities);
112 
113 #ifdef ITK_USE_CONCEPT_CHECKING
114 
115  itkConceptMacro(InputConvertibleToOutputCheck,
118 #endif
119 
120 protected:
123  void PrintSelf(std::ostream& os, Indent indent) const;
124 
128  void GenerateInputRequestedRegion();
129 
131  void EnlargeOutputRequestedRegion(DataObject *itkNotUsed(output));
132 
133  void GenerateData();
134 
135 
136 private:
137  ClosingByReconstructionImageFilter(const Self&); //purposely not implemented
138  void operator=(const Self&); //purposely not implemented
139 
144 }; // end of class
145 
146 } // end namespace itk
147 
148 #ifndef ITK_MANUAL_INSTANTIATION
150 #endif
151 
152 #endif

Generated at Sat Feb 2 2013 23:32:19 for Orfeo Toolbox with doxygen 1.8.1.1