ITK  5.2.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  * 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 itkBinaryMinMaxCurvatureFlowImageFilter_h
19 #define itkBinaryMinMaxCurvatureFlowImageFilter_h
20 
23 
24 namespace itk
25 {
80 template <typename TInputImage, typename TOutputImage>
81 class ITK_TEMPLATE_EXPORT BinaryMinMaxCurvatureFlowImageFilter
82  : public MinMaxCurvatureFlowImageFilter<TInputImage, TOutputImage>
83 {
84 public:
85  ITK_DISALLOW_COPY_AND_MOVE(BinaryMinMaxCurvatureFlowImageFilter);
87 
93 
95  itkNewMacro(Self);
96 
99 
101  using FiniteDifferenceFunctionType = typename Superclass::FiniteDifferenceFunctionType;
102  using OutputImageType = typename Superclass::OutputImageType;
103 
106 
109  static constexpr unsigned int ImageDimension = Superclass::ImageDimension;
110 
112  itkSetMacro(Threshold, double);
113  itkGetConstMacro(Threshold, double);
115 
116 #ifdef ITK_USE_CONCEPT_CHECKING
117  // Begin concept checking
118  itkConceptMacro(InputConvertibleToOutputCheck,
120  // End concept checking
121 #endif
122 
123 protected:
124 protected:
126  ~BinaryMinMaxCurvatureFlowImageFilter() override = default;
127  void
128  PrintSelf(std::ostream & os, Indent indent) const override;
129 
132  void
133  InitializeIteration() override;
134 
135 private:
136  double m_Threshold;
137 };
138 } // namespace itk
139 
140 #ifndef ITK_MANUAL_INSTANTIATION
141 # include "itkBinaryMinMaxCurvatureFlowImageFilter.hxx"
142 #endif
143 
144 #endif
itk::BinaryMinMaxCurvatureFlowImageFilter::m_Threshold
double m_Threshold
Definition: itkBinaryMinMaxCurvatureFlowImageFilter.h:136
itk::MinMaxCurvatureFlowImageFilter
Denoise an image using min/max curvature flow.
Definition: itkMinMaxCurvatureFlowImageFilter.h:83
itkBinaryMinMaxCurvatureFlowFunction.h
itk::SmartPointer< Self >
itk::Indent
Control indentation during Print() invocation.
Definition: itkIndent.h:49
itk::BinaryMinMaxCurvatureFlowImageFilter
Denoise a binary image using min/max curvature flow.
Definition: itkBinaryMinMaxCurvatureFlowImageFilter.h:81
itk::ImageSource
Base class for all process objects that output image data.
Definition: itkImageSource.h:67
itkMinMaxCurvatureFlowImageFilter.h
itk::DenseFiniteDifferenceImageFilter::FiniteDifferenceFunctionType
typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Definition: itkDenseFiniteDifferenceImageFilter.h:88
itkConceptMacro
#define itkConceptMacro(name, concept)
Definition: itkConceptChecking.h:65
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:216
itk::BinaryMinMaxCurvatureFlowFunction
Definition: itkBinaryMinMaxCurvatureFlowFunction.h:43
itk::ImageSource::OutputImageType
TOutputImage OutputImageType
Definition: itkImageSource.h:90