ITK  6.0.0
Insight Toolkit
itkBinaryMinMaxCurvatureFlowImageFilter.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 itkBinaryMinMaxCurvatureFlowImageFilter_h
19#define itkBinaryMinMaxCurvatureFlowImageFilter_h
20
23
24namespace itk
25{
80template <typename TInputImage, typename TOutputImage>
81class ITK_TEMPLATE_EXPORT BinaryMinMaxCurvatureFlowImageFilter
82 : public MinMaxCurvatureFlowImageFilter<TInputImage, TOutputImage>
83{
84public:
85 ITK_DISALLOW_COPY_AND_MOVE(BinaryMinMaxCurvatureFlowImageFilter);
93
95 itkNewMacro(Self);
96
98 itkOverrideGetNameOfClassMacro(BinaryMinMaxCurvatureFlowImageFilter);
99
101 using typename Superclass::FiniteDifferenceFunctionType;
102 using typename Superclass::OutputImageType;
103
106
109 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
110
112 itkSetMacro(Threshold, double);
113 itkGetConstMacro(Threshold, double);
116#ifdef ITK_USE_CONCEPT_CHECKING
117 // Begin concept checking
118 itkConceptMacro(InputConvertibleToOutputCheck,
120 // End concept checking
121#endif
122
123protected:
124protected:
127 void
128 PrintSelf(std::ostream & os, Indent indent) const override;
129
132 void
134
135private:
136 double m_Threshold{};
137};
138} // namespace itk
139
140#ifndef ITK_MANUAL_INSTANTIATION
141# include "itkBinaryMinMaxCurvatureFlowImageFilter.hxx"
142#endif
143
144#endif
Denoise a binary image using min/max curvature flow.
~BinaryMinMaxCurvatureFlowImageFilter() override=default
void PrintSelf(std::ostream &os, Indent indent) const override
Base class for all process objects that output image data.
Control indentation during Print() invocation.
Definition: itkIndent.h:50
Denoise an image using min/max curvature flow.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....