00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkMinMaxCurvatureFlowImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:28:35 $ 00007 Version: $Revision: 1.13 $ 00008 00009 Copyright (c) Insight Software 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 __itkMinMaxCurvatureFlowImageFilter_h_ 00018 #define __itkMinMaxCurvatureFlowImageFilter_h_ 00019 00020 #include "itkCurvatureFlowImageFilter.h" 00021 #include "itkMinMaxCurvatureFlowFunction.h" 00022 00023 namespace itk { 00024 00074 template <class TInputImage, class TOutputImage> 00075 class ITK_EXPORT MinMaxCurvatureFlowImageFilter 00076 : public CurvatureFlowImageFilter<TInputImage, TOutputImage> 00077 { 00078 public: 00080 typedef MinMaxCurvatureFlowImageFilter Self; 00081 typedef CurvatureFlowImageFilter<TInputImage, TOutputImage> 00082 Superclass; 00083 typedef SmartPointer<Self> Pointer; 00084 typedef SmartPointer<const Self> ConstPointer; 00085 00087 itkNewMacro(Self); 00088 00090 itkTypeMacro(MinMaxCurvatureFlowImageFilter, 00091 CurvatureFlowImageFilter); 00092 00094 typedef typename Superclass::FiniteDifferenceFunctionType 00095 FiniteDifferenceFunctionType; 00096 typedef typename Superclass::OutputImageType OutputImageType; 00097 00099 typedef MinMaxCurvatureFlowFunction<OutputImageType> 00100 MinMaxCurvatureFlowFunctionType; 00101 00104 itkStaticConstMacro(ImageDimension, unsigned int, 00105 Superclass::ImageDimension); 00106 00108 typedef typename FiniteDifferenceFunctionType::RadiusType RadiusType; 00109 typedef typename RadiusType::SizeValueType RadiusValueType; 00110 00112 itkSetMacro( StencilRadius, RadiusValueType ); 00113 itkGetMacro( StencilRadius, RadiusValueType ); 00114 00115 protected: 00116 MinMaxCurvatureFlowImageFilter(); 00117 ~MinMaxCurvatureFlowImageFilter() {} 00118 void PrintSelf(std::ostream& os, Indent indent) const; 00119 00122 virtual void InitializeIteration(); 00123 00124 private: 00125 MinMaxCurvatureFlowImageFilter(const Self&); //purposely not implemented 00126 void operator=(const Self&); //purposely not implemented 00127 00128 RadiusValueType m_StencilRadius; 00129 00130 }; 00131 00132 } // end namspace itk 00133 00134 #ifndef ITK_MANUAL_INSTANTIATION 00135 #include "itkMinMaxCurvatureFlowImageFilter.txx" 00136 #endif 00137 00138 #endif