ITK  5.2.0
Insight Toolkit
itkReconstructionByErosionImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright NumFOCUS
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef itkReconstructionByErosionImageFilter_h
19 #define itkReconstructionByErosionImageFilter_h
20 
22 
23 #include "itkNumericTraits.h"
24 
25 namespace itk
26 {
62 template <typename TInputImage, typename TOutputImage>
64  : public ReconstructionImageFilter<TInputImage, TOutputImage, std::less<typename TOutputImage::PixelType>>
65 {
66 public:
67  ITK_DISALLOW_COPY_AND_MOVE(ReconstructionByErosionImageFilter);
68 
71 
74 
76  using MarkerImageType = TInputImage;
77  using MarkerImagePointer = typename MarkerImageType::Pointer;
78  using MarkerImageConstPointer = typename MarkerImageType::ConstPointer;
80  using MarkerImagePixelType = typename MarkerImageType::PixelType;
81  using MaskImageType = TInputImage;
82  using MaskImagePointer = typename MaskImageType::Pointer;
83  using MaskImageConstPointer = typename MaskImageType::ConstPointer;
85  using MaskImagePixelType = typename MaskImageType::PixelType;
86  using OutputImageType = TOutputImage;
87  using OutputImagePointer = typename OutputImageType::Pointer;
88  using OutputImageConstPointer = typename OutputImageType::ConstPointer;
90  using OutputImagePixelType = typename OutputImageType::PixelType;
91 
93  static constexpr unsigned int MarkerImageDimension = TInputImage::ImageDimension;
94  static constexpr unsigned int MaskImageDimension = TInputImage::ImageDimension;
95  static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
96 
98  itkNewMacro(Self);
99 
102 
103 protected:
105 
106  ~ReconstructionByErosionImageFilter() override = default;
107 }; // end
108  //
109  //
110  //
111  //
112  // ReconstructionByErosionImageFilter
113 } // namespace itk
114 
115 #endif
itk::ReconstructionByErosionImageFilter::~ReconstructionByErosionImageFilter
~ReconstructionByErosionImageFilter() override=default
itk::ImageSource::OutputImagePointer
typename OutputImageType::Pointer OutputImagePointer
Definition: itkImageSource.h:91
itk::ReconstructionByErosionImageFilter::MaskImageDimension
static constexpr unsigned int MaskImageDimension
Definition: itkReconstructionByErosionImageFilter.h:94
itk::ReconstructionByErosionImageFilter::MaskImagePointer
typename MaskImageType::Pointer MaskImagePointer
Definition: itkReconstructionByErosionImageFilter.h:82
itk::SmartPointer< Self >
itk::ReconstructionByErosionImageFilter::OutputImageDimension
static constexpr unsigned int OutputImageDimension
Definition: itkReconstructionByErosionImageFilter.h:95
itkReconstructionImageFilter.h
itk::ReconstructionImageFilter< TInputImage, TOutputImage, std::less< TOutputImage::PixelType > >::m_MarkerValue
TInputImage::PixelType m_MarkerValue
Definition: itkReconstructionImageFilter.h:161
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::ReconstructionByErosionImageFilter::MarkerImageConstPointer
typename MarkerImageType::ConstPointer MarkerImageConstPointer
Definition: itkReconstructionByErosionImageFilter.h:78
itk::ReconstructionImageFilter
Performs a grayscale geodesic reconstruction – for performance comparison with GrayscaleGeodesicDilat...
Definition: itkReconstructionImageFilter.h:55
itk::ReconstructionByErosionImageFilter::ReconstructionByErosionImageFilter
ReconstructionByErosionImageFilter()
Definition: itkReconstructionByErosionImageFilter.h:104
itk::GTest::TypedefsAndConstructors::Dimension2::RegionType
ImageBaseType::RegionType RegionType
Definition: itkGTestTypedefsAndConstructors.h:54
itk::ReconstructionByErosionImageFilter::MarkerImageDimension
static constexpr unsigned int MarkerImageDimension
Definition: itkReconstructionByErosionImageFilter.h:93
itk::ReconstructionByErosionImageFilter::MaskImagePixelType
typename MaskImageType::PixelType MaskImagePixelType
Definition: itkReconstructionByErosionImageFilter.h:85
itk::ReconstructionByErosionImageFilter::MaskImageConstPointer
typename MaskImageType::ConstPointer MaskImageConstPointer
Definition: itkReconstructionByErosionImageFilter.h:83
itk::ReconstructionByErosionImageFilter
grayscale reconstruction by erosion of an image
Definition: itkReconstructionByErosionImageFilter.h:63
itk::ReconstructionByErosionImageFilter::MaskImageType
TInputImage MaskImageType
Definition: itkReconstructionByErosionImageFilter.h:81
itk::ReconstructionByErosionImageFilter::OutputImageConstPointer
typename OutputImageType::ConstPointer OutputImageConstPointer
Definition: itkReconstructionByErosionImageFilter.h:88
itk::NumericTraits::max
static constexpr T max(const T &)
Definition: itkNumericTraits.h:167
itk::ImageSource::OutputImageRegionType
typename OutputImageType::RegionType OutputImageRegionType
Definition: itkImageSource.h:92
itk::ReconstructionByErosionImageFilter::MarkerImageType
TInputImage MarkerImageType
Definition: itkReconstructionByErosionImageFilter.h:76
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:138
itk::ReconstructionByErosionImageFilter::MarkerImageRegionType
typename MarkerImageType::RegionType MarkerImageRegionType
Definition: itkReconstructionByErosionImageFilter.h:79
itk::ReconstructionByErosionImageFilter::MaskImageRegionType
typename MaskImageType::RegionType MaskImageRegionType
Definition: itkReconstructionByErosionImageFilter.h:84
itk::ImageSource::OutputImagePixelType
typename OutputImageType::PixelType OutputImagePixelType
Definition: itkImageSource.h:93
itk::ReconstructionByErosionImageFilter::MarkerImagePixelType
typename MarkerImageType::PixelType MarkerImagePixelType
Definition: itkReconstructionByErosionImageFilter.h:80
itkNumericTraits.h
itk::ReconstructionByErosionImageFilter::MarkerImagePointer
typename MarkerImageType::Pointer MarkerImagePointer
Definition: itkReconstructionByErosionImageFilter.h:77
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90