ITK  4.9.0
Insight Segmentation and Registration Toolkit
itkBinaryMinMaxCurvatureFlowImageFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
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 {
75 template< typename TInputImage, typename TOutputImage >
77  public MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >
78 {
79 public:
85 
87  itkNewMacro(Self);
88 
91 
95 
98 
101  itkStaticConstMacro(ImageDimension, unsigned int, Superclass::ImageDimension);
102 
104  itkSetMacro(Threshold, double);
105  itkGetConstMacro(Threshold, double);
107 
108 #ifdef ITK_USE_CONCEPT_CHECKING
109  // Begin concept checking
110  itkConceptMacro( InputConvertibleToOutputCheck,
111  ( Concept::Convertible< typename TInputImage::PixelType,
112  typename TOutputImage::PixelType > ) );
113  // End concept checking
114 #endif
115 
116 protected:
117 
118 protected:
121  void PrintSelf(std::ostream & os, Indent indent) const ITK_OVERRIDE;
122 
125  virtual void InitializeIteration() ITK_OVERRIDE;
126 
127 private:
128  BinaryMinMaxCurvatureFlowImageFilter(const Self &) ITK_DELETE_FUNCTION;
129  void operator=(const Self &) ITK_DELETE_FUNCTION;
130 
131  double m_Threshold;
132 };
133 } // end namspace itk
134 
135 #ifndef ITK_MANUAL_INSTANTIATION
136 #include "itkBinaryMinMaxCurvatureFlowImageFilter.hxx"
137 #endif
138 
139 #endif
BinaryMinMaxCurvatureFlowFunction< OutputImageType > BinaryMinMaxCurvatureFlowFunctionType
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Base class for all process objects that output image data.
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
virtual void InitializeIteration() override
Denoise a binary image using min/max curvature flow.
Denoise an image using min/max curvature flow.
Control indentation during Print() invocation.
Definition: itkIndent.h:49
#define itkConceptMacro(name, concept)
MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage > Superclass
void PrintSelf(std::ostream &os, Indent indent) const override