00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkBinaryMinMaxCurvatureFlowImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2002/09/11 19:39:00 $ 00007 Version: $Revision: 1.5 $ 00008 00009 Copyright (c) 2002 Insight Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 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 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 ); 00108 00109 protected: 00110 BinaryMinMaxCurvatureFlowImageFilter(); 00111 ~BinaryMinMaxCurvatureFlowImageFilter() {} 00112 void PrintSelf(std::ostream& os, Indent indent) const; 00113 00116 virtual void InitializeIteration(); 00117 00118 private: 00119 BinaryMinMaxCurvatureFlowImageFilter(const Self&); //purposely not implemented 00120 void operator=(const Self&); //purposely not implemented 00121 00122 double m_Threshold; 00123 00124 }; 00125 00126 } // end namspace itk 00127 00128 #ifndef ITK_MANUAL_INSTANTIATION 00129 #include "itkBinaryMinMaxCurvatureFlowImageFilter.txx" 00130 #endif 00131 00132 #endif