00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkBinaryMinMaxCurvatureFlowImageFilter_h
00018 #define __itkBinaryMinMaxCurvatureFlowImageFilter_h
00019
00020 #include "itkMinMaxCurvatureFlowImageFilter.h"
00021 #include "itkBinaryMinMaxCurvatureFlowFunction.h"
00022
00023 namespace itk {
00024
00073 template <class TInputImage, class TOutputImage>
00074 class ITK_EXPORT BinaryMinMaxCurvatureFlowImageFilter
00075 : public MinMaxCurvatureFlowImageFilter<TInputImage, TOutputImage>
00076 {
00077 public:
00079 typedef BinaryMinMaxCurvatureFlowImageFilter Self;
00080 typedef MinMaxCurvatureFlowImageFilter<TInputImage, TOutputImage>
00081 Superclass;
00082 typedef SmartPointer<Self> Pointer;
00083 typedef SmartPointer<const Self> ConstPointer;
00084
00086 itkNewMacro(Self);
00087
00089 itkTypeMacro(BinaryMinMaxCurvatureFlowImageFilter,
00090 MinMaxCurvatureFlowImageFilter);
00091
00093 typedef typename Superclass::FiniteDifferenceFunctionType
00094 FiniteDifferenceFunctionType;
00095 typedef typename Superclass::OutputImageType OutputImageType;
00096
00098 typedef BinaryMinMaxCurvatureFlowFunction<OutputImageType>
00099 BinaryMinMaxCurvatureFlowFunctionType;
00100
00103 itkStaticConstMacro(ImageDimension, unsigned int,Superclass::ImageDimension);
00104
00106 itkSetMacro( Threshold, double );
00107 itkGetMacro( Threshold, double );
00109
00110 #ifdef ITK_USE_CONCEPT_CHECKING
00111
00112 itkConceptMacro(InputConvertibleToOutputCheck,
00113 (Concept::Convertible<typename TInputImage::PixelType,
00114 typename TOutputImage::PixelType>));
00115
00117 #endif
00118
00119 protected:protected:
00120 BinaryMinMaxCurvatureFlowImageFilter();
00121 ~BinaryMinMaxCurvatureFlowImageFilter() {}
00122 void PrintSelf(std::ostream& os, Indent indent) const;
00123
00126 virtual void InitializeIteration();
00127
00128 private:
00129 BinaryMinMaxCurvatureFlowImageFilter(const Self&);
00130 void operator=(const Self&);
00131
00132 double m_Threshold;
00133
00134 };
00135
00136 }
00137
00138 #ifndef ITK_MANUAL_INSTANTIATION
00139 #include "itkBinaryMinMaxCurvatureFlowImageFilter.txx"
00140 #endif
00141
00142 #endif
00143