ITK  4.4.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< class TInputImage, class TOutputImage >
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 
110  itkConceptMacro( InputConvertibleToOutputCheck,
111  ( Concept::Convertible< typename TInputImage::PixelType,
112  typename TOutputImage::PixelType > ) );
113 
115 #endif
116 
117 protected:
118 
119 protected:
122  void PrintSelf(std::ostream & os, Indent indent) const;
123 
126  virtual void InitializeIteration();
127 
128 private:
129  BinaryMinMaxCurvatureFlowImageFilter(const Self &); //purposely not
130  // implemented
131  void operator=(const Self &); //purposely not
132 
133  // implemented
134 
135  double m_Threshold;
136 };
137 } // end namspace itk
138 
139 #ifndef ITK_MANUAL_INSTANTIATION
140 #include "itkBinaryMinMaxCurvatureFlowImageFilter.hxx"
141 #endif
142 
143 #endif
144