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 
24 namespace itk
25 {
82 template <typename TInputImage, typename TOutputImage>
83 class ITK_TEMPLATE_EXPORT MinMaxCurvatureFlowImageFilter : public CurvatureFlowImageFilter<TInputImage, TOutputImage>
84 {
85 public:
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 
137 protected:
139  ~MinMaxCurvatureFlowImageFilter() override = default;
140  void
141  PrintSelf(std::ostream & os, Indent indent) const override;
142 
145  void
146  InitializeIteration() override;
147 
148 private:
149  RadiusValueType m_StencilRadius{};
150 };
151 } // namespace itk
152 
153 #ifndef ITK_MANUAL_INSTANTIATION
154 # include "itkMinMaxCurvatureFlowImageFilter.hxx"
155 #endif
156 
157 #endif
itk::CurvatureFlowImageFilter
Denoise an image using curvature driven flow.
Definition: itkCurvatureFlowImageFilter.h:96
itk::MinMaxCurvatureFlowImageFilter
Denoise an image using min/max curvature flow.
Definition: itkMinMaxCurvatureFlowImageFilter.h:83
itk::FiniteDifferenceFunction::RadiusType
typename ConstNeighborhoodIterator< TImageType >::RadiusType RadiusType
Definition: itkFiniteDifferenceFunction.h:97
itk::Concept::GreaterThanComparable
Definition: itkConceptChecking.h:284
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itk::FiniteDifferenceImageFilter::RadiusType
typename FiniteDifferenceFunctionType::RadiusType RadiusType
Definition: itkFiniteDifferenceImageFilter.h:169
itkMinMaxCurvatureFlowFunction.h
itkCurvatureFlowImageFilter.h
itk::MinMaxCurvatureFlowImageFilter::RadiusValueType
typename RadiusType::SizeValueType RadiusValueType
Definition: itkMinMaxCurvatureFlowImageFilter.h:114
itk::Concept::Comparable
Definition: itkConceptChecking.h:331
itk::Concept::AdditiveOperators
Definition: itkConceptChecking.h:360
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:139
itk::Concept::Convertible
Definition: itkConceptChecking.h:216
itk::MinMaxCurvatureFlowFunction
Definition: itkMinMaxCurvatureFlowFunction.h:43
itk::Concept::MultiplyAndAssignOperator
Definition: itkConceptChecking.h:448
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:86
itk::Concept::LessThanComparable
Definition: itkConceptChecking.h:262