00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkGeodesicActiveContourLevelSetImageFilter_h_
00018 #define __itkGeodesicActiveContourLevelSetImageFilter_h_
00019
00020 #include "itkSegmentationLevelSetImageFilter.h"
00021 #include "itkGeodesicActiveContourLevelSetFunction.h"
00022
00023 namespace itk {
00024
00094 template <class TInputImage,
00095 class TFeatureImage,
00096 class TOutputPixelType = float >
00097 class ITK_EXPORT GeodesicActiveContourLevelSetImageFilter
00098 : public SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType, Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension> >
00099 {
00100 public:
00102 typedef GeodesicActiveContourLevelSetImageFilter Self;
00103 typedef SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType, Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension> > Superclass;
00104 typedef SmartPointer<Self> Pointer;
00105 typedef SmartPointer<const Self> ConstPointer;
00106
00108 typedef typename Superclass::ValueType ValueType;
00109 typedef typename Superclass::OutputImageType OutputImageType;
00110 typedef typename Superclass::FeatureImageType FeatureImageType;
00111
00113 typedef GeodesicActiveContourLevelSetFunction<OutputImageType,
00114 FeatureImageType> GeodesicActiveContourFunctionType;
00115 typedef typename GeodesicActiveContourFunctionType::Pointer
00116 GeodesicActiveContourFunctionPointer;
00117
00119 itkTypeMacro(GeodesicActiveContourLevelSetImageFilter, SegmentationLevelSetImageFilter);
00120
00122 itkNewMacro(Self);
00123
00124 protected:
00125 ~GeodesicActiveContourLevelSetImageFilter() {}
00126 GeodesicActiveContourLevelSetImageFilter();
00127
00128 virtual void PrintSelf(std::ostream &os, Indent indent) const;
00129
00130 GeodesicActiveContourLevelSetImageFilter(const Self &);
00131 void operator=(const Self&);
00132 private:
00133 GeodesicActiveContourFunctionPointer m_GeodesicActiveContourFunction;
00134 };
00135
00136 }
00137
00138
00139
00140 #ifndef ITK_MANUAL_INSTANTIATION
00141 #include "itkGeodesicActiveContourLevelSetImageFilter.txx"
00142 #endif
00143
00144 #endif