ITK  5.2.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  * http://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_ASSIGN(MinMaxCurvatureFlowImageFilter);
88 
94 
96  itkNewMacro(Self);
97 
100 
102  using FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType;
103  using OutputImageType = typename Superclass::OutputImageType;
104 
107 
110  static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
111 
113  using RadiusType = typename FiniteDifferenceFunctionType::RadiusType;
115 
117  itkSetMacro(StencilRadius, RadiusValueType);
118  itkGetConstMacro(StencilRadius, RadiusValueType);
120 
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:
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::MinMaxCurvatureFlowImageFilter::m_StencilRadius
RadiusValueType m_StencilRadius
Definition: itkMinMaxCurvatureFlowImageFilter.h:149
itk::Concept::GreaterThanComparable
Definition: itkConceptChecking.h:282
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:168
itkMinMaxCurvatureFlowFunction.h
itkCurvatureFlowImageFilter.h
itk::MinMaxCurvatureFlowImageFilter::RadiusValueType
typename RadiusType::SizeValueType RadiusValueType
Definition: itkMinMaxCurvatureFlowImageFilter.h:114
itk::DenseFiniteDifferenceImageFilter::FiniteDifferenceFunctionType
typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Definition: itkDenseFiniteDifferenceImageFilter.h:88
itk::Concept::Comparable
Definition: itkConceptChecking.h:328
itk::Concept::AdditiveOperators
Definition: itkConceptChecking.h:356
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:64
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ProcessObject
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Definition: itkProcessObject.h:138
itk::Concept::Convertible
Definition: itkConceptChecking.h:214
itk::MinMaxCurvatureFlowFunction
Definition: itkMinMaxCurvatureFlowFunction.h:43
itk::Concept::MultiplyAndAssignOperator
Definition: itkConceptChecking.h:444
itk::SizeValueType
unsigned long SizeValueType
Definition: itkIntTypes.h:83
itk::Concept::LessThanComparable
Definition: itkConceptChecking.h:260
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90