ITK  6.0.0
Insight Toolkit
itkMinMaxCurvatureFlowImageFilter.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 itkMinMaxCurvatureFlowImageFilter_h
19#define itkMinMaxCurvatureFlowImageFilter_h
20
23
24namespace itk
25{
82template <typename TInputImage, typename TOutputImage>
83class ITK_TEMPLATE_EXPORT MinMaxCurvatureFlowImageFilter : public CurvatureFlowImageFilter<TInputImage, TOutputImage>
84{
85public:
86 ITK_DISALLOW_COPY_AND_MOVE(MinMaxCurvatureFlowImageFilter);
94
96 itkNewMacro(Self);
97
99 itkOverrideGetNameOfClassMacro(MinMaxCurvatureFlowImageFilter);
100
102 using typename Superclass::FiniteDifferenceFunctionType;
103 using typename Superclass::OutputImageType;
104
107
110 static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
111
115
117 itkSetMacro(StencilRadius, RadiusValueType);
118 itkGetConstMacro(StencilRadius, RadiusValueType);
121#ifdef ITK_USE_CONCEPT_CHECKING
122 // Begin concept checking
123 itkConceptMacro(UnsignedLongConvertibleToOutputCheck,
128 itkConceptMacro(OutputDoubleMultiplyAndAssignOperatorCheck,
130 itkConceptMacro(OutputGreaterThanUnsignedLongCheck,
132 itkConceptMacro(UnsignedLongOutputAditiveOperatorsCheck,
134 // End concept checking
135#endif
136
137protected:
140 void
141 PrintSelf(std::ostream & os, Indent indent) const override;
142
145 void
147
148private:
149 RadiusValueType m_StencilRadius{};
150};
151} // namespace itk
152
153#ifndef ITK_MANUAL_INSTANTIATION
154# include "itkMinMaxCurvatureFlowImageFilter.hxx"
155#endif
156
157#endif
Denoise an image using curvature driven flow.
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
typename FiniteDifferenceFunctionType::RadiusType RadiusType
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.
typename RadiusType::SizeValueType RadiusValueType
void PrintSelf(std::ostream &os, Indent indent) const override
~MinMaxCurvatureFlowImageFilter() override=default
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....
unsigned long SizeValueType
Definition: itkIntTypes.h:86