ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkReconstructionByDilationImageFilter.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 itkReconstructionByDilationImageFilter_h
19#define itkReconstructionByDilationImageFilter_h
20
22
23#include "itkNumericTraits.h"
24#include <functional>
25
26namespace itk
27{
56
57template <typename TInputImage, typename TOutputImage>
59 : public ReconstructionImageFilter<TInputImage, TOutputImage, std::greater<typename TOutputImage::PixelType>>
60{
61public:
62 ITK_DISALLOW_COPY_AND_MOVE(ReconstructionByDilationImageFilter);
63
65 using Superclass =
67
70
72 using MarkerImageType = TInputImage;
73 using MarkerImagePointer = typename MarkerImageType::Pointer;
74 using MarkerImageConstPointer = typename MarkerImageType::ConstPointer;
75 using MarkerImageRegionType = typename MarkerImageType::RegionType;
76 using MarkerImagePixelType = typename MarkerImageType::PixelType;
77 using MaskImageType = TInputImage;
78 using MaskImagePointer = typename MaskImageType::Pointer;
79 using MaskImageConstPointer = typename MaskImageType::ConstPointer;
80 using MaskImageRegionType = typename MaskImageType::RegionType;
81 using MaskImagePixelType = typename MaskImageType::PixelType;
82 using OutputImageType = TOutputImage;
83 using OutputImagePointer = typename OutputImageType::Pointer;
84 using OutputImageConstPointer = typename OutputImageType::ConstPointer;
85 using OutputImageRegionType = typename OutputImageType::RegionType;
86 using OutputImagePixelType = typename OutputImageType::PixelType;
87
89 static constexpr unsigned int MarkerImageDimension = TInputImage::ImageDimension;
90 static constexpr unsigned int MaskImageDimension = TInputImage::ImageDimension;
91 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
92
94 itkNewMacro(Self);
95
97 itkOverrideGetNameOfClassMacro(ReconstructionByDilationImageFilter);
98
99protected:
104
106};
107// end ReconstructionByDilationImageFilter
108} // namespace itk
109
110#endif
static constexpr T NonpositiveMin()
typename MarkerImageType::ConstPointer MarkerImageConstPointer
~ReconstructionByDilationImageFilter() override=default
typename OutputImageType::ConstPointer OutputImageConstPointer
ReconstructionImageFilter< TInputImage, TOutputImage, std::greater< typename TOutputImage::PixelType > > Superclass
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....