ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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 * https://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
25namespace itk
26{
55
56template <typename TInputImage, typename TOutputImage>
58 : public ReconstructionImageFilter<TInputImage, TOutputImage, std::less<typename TOutputImage::PixelType>>
59{
60public:
61 ITK_DISALLOW_COPY_AND_MOVE(ReconstructionByErosionImageFilter);
62
65
68
70 using MarkerImageType = TInputImage;
71 using MarkerImagePointer = typename MarkerImageType::Pointer;
72 using MarkerImageConstPointer = typename MarkerImageType::ConstPointer;
73 using MarkerImageRegionType = typename MarkerImageType::RegionType;
74 using MarkerImagePixelType = typename MarkerImageType::PixelType;
75 using MaskImageType = TInputImage;
76 using MaskImagePointer = typename MaskImageType::Pointer;
77 using MaskImageConstPointer = typename MaskImageType::ConstPointer;
78 using MaskImageRegionType = typename MaskImageType::RegionType;
79 using MaskImagePixelType = typename MaskImageType::PixelType;
80 using OutputImageType = TOutputImage;
81 using OutputImagePointer = typename OutputImageType::Pointer;
82 using OutputImageConstPointer = typename OutputImageType::ConstPointer;
83 using OutputImageRegionType = typename OutputImageType::RegionType;
84 using OutputImagePixelType = typename OutputImageType::PixelType;
85
87 static constexpr unsigned int MarkerImageDimension = TInputImage::ImageDimension;
88 static constexpr unsigned int MaskImageDimension = TInputImage::ImageDimension;
89 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
90
92 itkNewMacro(Self);
93
95 itkOverrideGetNameOfClassMacro(ReconstructionByErosionImageFilter);
96
97protected:
99
101}; // end
102 //
103 //
104 //
105 //
106 // ReconstructionByErosionImageFilter
107} // namespace itk
108
109#endif
static constexpr T max(const T &)
~ReconstructionByErosionImageFilter() override=default
typename OutputImageType::ConstPointer OutputImageConstPointer
ReconstructionImageFilter< TInputImage, TOutputImage, std::less< typename TOutputImage::PixelType > > Superclass
typename MarkerImageType::ConstPointer MarkerImageConstPointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....