ITK  5.0.0
Insight Segmentation and Registration Toolkit
itkReconstructionByErosionImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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 {
61 template< typename TInputImage, typename TOutputImage >
63  public ReconstructionImageFilter< TInputImage, TOutputImage, std::less< typename TOutputImage::PixelType > >
64 {
65 public:
66  ITK_DISALLOW_COPY_AND_ASSIGN(ReconstructionByErosionImageFilter);
67 
70  TInputImage, TOutputImage, std::less< typename TOutputImage::PixelType > >;
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 
103 
104 protected:
106  {
108  }
109 
110  ~ReconstructionByErosionImageFilter() override = default;
111 }; // end
112  //
113  //
114  //
115  //
116  // ReconstructionByErosionImageFilter
117 }
118 
119 #endif
typename OutputImageType::Pointer OutputImagePointer
Performs a grayscale geodesic reconstruction – for performance comparison with GrayscaleGeodesicDilat...
typename OutputImageType::ConstPointer OutputImageConstPointer
typename MarkerImageType::ConstPointer MarkerImageConstPointer
Define numeric traits for std::vector.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
typename MaskImageType::ConstPointer MaskImageConstPointer
Base class for all process objects that output image data.
typename MarkerImageType::RegionType MarkerImageRegionType
typename OutputImageType::PixelType OutputImagePixelType
grayscale reconstruction by erosion of an image
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
~ReconstructionByErosionImageFilter() override=default