ITK  4.13.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 >
76 class ITK_TEMPLATE_EXPORT BinaryMinMaxCurvatureFlowImageFilter:
77  public MinMaxCurvatureFlowImageFilter< TInputImage, TOutputImage >
78 {
79 public:
85 
87  itkNewMacro(Self);
88 
91 
93  typedef typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType;
94  typedef typename Superclass::OutputImageType OutputImageType;
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  ITK_DISALLOW_COPY_AND_ASSIGN(BinaryMinMaxCurvatureFlowImageFilter);
129 
130  double m_Threshold;
131 };
132 } // end namspace itk
133 
134 #ifndef ITK_MANUAL_INSTANTIATION
135 #include "itkBinaryMinMaxCurvatureFlowImageFilter.hxx"
136 #endif
137 
138 #endif
BinaryMinMaxCurvatureFlowFunction< OutputImageType > BinaryMinMaxCurvatureFlowFunctionType
Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType
Base class for all process objects that output image data.
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