ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itkStatisticsRelabelLabelMapFilter.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 itkStatisticsRelabelLabelMapFilter_h
19#define itkStatisticsRelabelLabelMapFilter_h
20
24
25namespace itk
26{
43template <typename TImage>
44class ITK_TEMPLATE_EXPORT StatisticsRelabelLabelMapFilter : public ShapeRelabelLabelMapFilter<TImage>
45{
46public:
47 ITK_DISALLOW_COPY_AND_MOVE(StatisticsRelabelLabelMapFilter);
48
54
56 using ImageType = TImage;
57 using ImagePointer = typename ImageType::Pointer;
58 using ImageConstPointer = typename ImageType::ConstPointer;
59 using PixelType = typename ImageType::PixelType;
60 using IndexType = typename ImageType::IndexType;
61 using LabelObjectType = typename ImageType::LabelObjectType;
62
63 using AttributeType = typename LabelObjectType::AttributeType;
64
66 static constexpr unsigned int ImageDimension = TImage::ImageDimension;
67
69 itkNewMacro(Self);
70
72 itkOverrideGetNameOfClassMacro(StatisticsRelabelLabelMapFilter);
73
74 /*itkConceptMacro(InputEqualityComparableCheck,
75 (Concept::EqualityComparable<InputImagePixelType>));
76 itkConceptMacro(IntConvertibleToInputCheck,
77 (Concept::Convertible<int, InputImagePixelType>));
78 itkConceptMacro(InputOStreamWritableCheck,
79 (Concept::OStreamWritable<InputImagePixelType>));*/
80
81protected:
84
85 void
86 GenerateData() override;
87}; // end of class
88} // end namespace itk
89
90#ifndef ITK_MANUAL_INSTANTIATION
91# include "itkStatisticsRelabelLabelMapFilter.hxx"
92#endif
93
94#endif
Implements transparent reference counting.
~StatisticsRelabelLabelMapFilter() override=default
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....