00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkLaplacianSegmentationLevelSetImageFilter.h,v $ 00005 Language: C++ 00006 Date: $Date: 2004/06/01 18:33:44 $ 00007 Version: $Revision: 1.9 $ 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> Superclass; 00108 typedef SmartPointer<Self> Pointer; 00109 typedef SmartPointer<const Self> ConstPointer; 00110 00112 typedef typename Superclass::ValueType ValueType; 00113 typedef typename Superclass::OutputImageType OutputImageType; 00114 typedef typename Superclass::FeatureImageType FeatureImageType; 00115 00116 00118 typedef LaplacianSegmentationLevelSetFunction<OutputImageType, 00119 FeatureImageType> LaplacianFunctionType; 00120 00122 itkTypeMacro(LaplacianSegmenationLevelSetImageFilter, SegmentationLevelSetImageFilter); 00123 00125 itkNewMacro(Self); 00126 00127 protected: 00128 ~LaplacianSegmentationLevelSetImageFilter() {} 00129 LaplacianSegmentationLevelSetImageFilter(); 00130 00131 virtual void PrintSelf(std::ostream &os, Indent indent) const; 00132 00133 00134 private: 00135 typename LaplacianFunctionType::Pointer m_LaplacianFunction; 00136 }; 00137 00138 } // end namespace itk 00139 00140 00141 00142 #ifndef ITK_MANUAL_INSTANTIATION 00143 #include "itkLaplacianSegmentationLevelSetImageFilter.txx" 00144 #endif 00145 00146 #endif