ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkMedialThicknessImageFilter3D.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 itkMedialThicknessImageFilter3D_h
19#define itkMedialThicknessImageFilter3D_h
20
24#include "itkMaskImageFilter.h"
26
27namespace itk
28{
29
42template <typename TInputImage, typename TOutputImage>
43class ITK_TEMPLATE_EXPORT MedialThicknessImageFilter3D : public ImageToImageFilter<TInputImage, TOutputImage>
44{
45public:
46 ITK_DISALLOW_COPY_AND_MOVE(MedialThicknessImageFilter3D);
47
48 static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension;
49 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
50
51 using InputImageType = TInputImage;
52 using OutputImageType = TOutputImage;
53
54 using InputPixelType = typename InputImageType::PixelType;
55 using OutputPixelType = typename OutputImageType::PixelType;
56
62
64 itkOverrideGetNameOfClassMacro(MedialThicknessImageFilter3D);
65
67 itkNewMacro(Self);
68
69protected:
75
81
83 ~MedialThicknessImageFilter3D() override = default;
84
85 void
86 PrintSelf(std::ostream & os, Indent indent) const override;
87
88 using OutputRegionType = typename OutputImageType::RegionType;
89
90 void
91 GenerateData() override;
92
93private:
94 static_assert(InputImageDimension == 3);
96};
97} // namespace itk
98
99#ifndef ITK_MANUAL_INSTANTIATION
100# include "itkMedialThicknessImageFilter3D.hxx"
101#endif
102
103#endif // itkMedialThicknessImageFilter3D
This filter computes one-pixel-wide skeleton of a 3D input image.
Control indentation during Print() invocation.
Definition itkIndent.h:53
Mask an image with a mask.
SmartPointer< Self > Pointer
MultiplyImageFilter< OutputImageType, OutputImageType, OutputImageType > MultiplyImageFilterType
MedialThicknessImageFilter3D< InputImageType, OutputImageType > Self
typename InputImageType::PixelType InputPixelType
MaskImageFilter< OutputImageType, InputImageType, OutputImageType > MaskImageFilterType
SignedMaurerDistanceMapImageFilter< InputImageType, OutputImageType > DistanceImageFilterType
~MedialThicknessImageFilter3D() override=default
BinaryThinningImageFilter3D< InputImageType, InputImageType > ThinningImageFilterType
void PrintSelf(std::ostream &os, Indent indent) const override
typename OutputImageType::PixelType OutputPixelType
Pixel-wise multiplication of two images.
This filter calculates the Euclidean distance transform of a binary image in linear time for arbitrar...
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....