ITK  4.2.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 protected:
117 protected:
120  void PrintSelf(std::ostream & os, Indent indent) const;
122 
125  virtual void InitializeIteration();
126 
127 private:
128  BinaryMinMaxCurvatureFlowImageFilter(const Self &); //purposely not
129  // implemented
130  void operator=(const Self &); //purposely not
131 
132  // implemented
133 
134  double m_Threshold;
135 };
136 } // end namspace itk
137 
138 #ifndef ITK_MANUAL_INSTANTIATION
139 #include "itkBinaryMinMaxCurvatureFlowImageFilter.hxx"
140 #endif
141 
142 #endif
143