00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkLaplacianSegmentationLevelSetImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009-01-24 20:02:57 $ 00007 Version: $Revision: 1.12 $ 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 __itkLaplacianSegmentationLevelSetImageFilter_h 00018 #define __itkLaplacianSegmentationLevelSetImageFilter_h 00019 00020 #include "itkSegmentationLevelSetImageFilter.h" 00021 #include "itkLaplacianSegmentationLevelSetFunction.h" 00022 00023 namespace itk { 00024 00098 template <class TInputImage, 00099 class TFeatureImage, 00100 class TOutputPixelType = float> 00101 class ITK_EXPORT LaplacianSegmentationLevelSetImageFilter 00102 : public SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType> 00103 { 00104 public: 00106 typedef LaplacianSegmentationLevelSetImageFilter Self; 00107 typedef SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType> 00108 Superclass; 00109 typedef SmartPointer<Self> Pointer; 00110 typedef SmartPointer<const Self> ConstPointer; 00111 00113 typedef typename Superclass::ValueType ValueType; 00114 typedef typename Superclass::OutputImageType OutputImageType; 00115 typedef typename Superclass::FeatureImageType FeatureImageType; 00116 00117 00119 typedef LaplacianSegmentationLevelSetFunction<OutputImageType, 00120 FeatureImageType> LaplacianFunctionType; 00121 00123 itkTypeMacro(LaplacianSegmentationLevelSetImageFilter, SegmentationLevelSetImageFilter); 00124 00126 itkNewMacro(Self); 00127 00128 protected: 00129 ~LaplacianSegmentationLevelSetImageFilter() {} 00130 LaplacianSegmentationLevelSetImageFilter(); 00131 00132 virtual void PrintSelf(std::ostream &os, Indent indent) const; 00133 00134 00135 private: 00136 LaplacianSegmentationLevelSetImageFilter(const Self&); //purposely not implemented 00137 void operator=(const Self&); //purposely not implemented 00138 00139 typename LaplacianFunctionType::Pointer m_LaplacianFunction; 00140 }; 00141 00142 } // end namespace itk 00143 00144 #ifndef ITK_MANUAL_INSTANTIATION 00145 #include "itkLaplacianSegmentationLevelSetImageFilter.txx" 00146 #endif 00147 00148 #endif 00149