ITK  4.3.0
Insight Segmentation and Registration Toolkit
itkMinMaxCurvatureFlowImageFilter.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 __itkMinMaxCurvatureFlowImageFilter_h
19 #define __itkMinMaxCurvatureFlowImageFilter_h
20 
23 
24 namespace itk
25 {
76 template< class TInputImage, class TOutputImage >
78  public CurvatureFlowImageFilter< TInputImage, TOutputImage >
79 {
80 public:
86 
88  itkNewMacro(Self);
89 
92 
94  typedef typename Superclass::FiniteDifferenceFunctionType FiniteDifferenceFunctionType;
95  typedef typename Superclass::OutputImageType OutputImageType;
96 
100 
103  itkStaticConstMacro(ImageDimension, unsigned int,
104  Superclass::ImageDimension);
105 
109 
111  itkSetMacro(StencilRadius, RadiusValueType);
112  itkGetConstMacro(StencilRadius, RadiusValueType);
114 
115 #ifdef ITK_USE_CONCEPT_CHECKING
116 
117  itkConceptMacro( UnsignedLongConvertibleToOutputCheck,
119  itkConceptMacro( OutputLessThanComparableCheck,
121  itkConceptMacro( LongConvertibleToOutputCheck,
123  itkConceptMacro( OutputDoubleComparableCheck,
125  itkConceptMacro( OutputDoubleMultiplyAndAssignOperatorCheck,
126  ( Concept::MultiplyAndAssignOperator< typename TOutputImage::PixelType,
127  double > ) );
128  itkConceptMacro( OutputGreaterThanUnsignedLongCheck,
129  ( Concept::GreaterThanComparable< typename TOutputImage::PixelType,
130  unsigned long > ) );
131  itkConceptMacro( UnsignedLongOutputAditiveOperatorsCheck,
132  ( Concept::AdditiveOperators< unsigned long,
133  typename TOutputImage::PixelType > ) );
134 
136 #endif
137 
138 protected:
141  void PrintSelf(std::ostream & os, Indent indent) const;
142 
145  virtual void InitializeIteration();
146 
147 private:
148  MinMaxCurvatureFlowImageFilter(const Self &); //purposely not implemented
149  void operator=(const Self &); //purposely not implemented
150 
152 };
153 } // end namspace itk
154 
155 #ifndef ITK_MANUAL_INSTANTIATION
156 #include "itkMinMaxCurvatureFlowImageFilter.hxx"
157 #endif
158 
159 #endif
160