00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef _itkImageShapeModelEstimatorBase_h
00018 #define _itkImageShapeModelEstimatorBase_h
00019
00020 #include "itkImageToImageFilter.h"
00021
00022 namespace itk
00023 {
00024
00045 template <class TInputImage,
00046 class TOutputImage = Image<double, ::itk::GetImageDimension<TInputImage>::ImageDimension> >
00047 class ITK_EXPORT ImageShapeModelEstimatorBase:
00048 public ImageToImageFilter<TInputImage, TOutputImage>
00049 {
00050 public:
00052 typedef ImageShapeModelEstimatorBase Self;
00053 typedef ImageToImageFilter<TInputImage, TOutputImage> Superclass;
00054 typedef SmartPointer<Self> Pointer;
00055 typedef SmartPointer<const Self> ConstPointer;
00056
00058 itkTypeMacro(ImageShapeModelEstimatorBase,ImageToImageFilter);
00059
00060
00062 typedef TInputImage InputImageType;
00063 typedef typename TInputImage::Pointer InputImagePointer;
00064
00065 protected:
00066 ImageShapeModelEstimatorBase();
00067 ~ImageShapeModelEstimatorBase();
00068 void PrintSelf(std::ostream& os, Indent indent) const;
00069
00070 virtual void GenerateData();
00071
00072 private:
00073
00074 ImageShapeModelEstimatorBase(const Self&);
00075 void operator=(const Self&);
00076
00078 InputImagePointer m_InputImage;
00079
00081 virtual void EstimateShapeModels() = 0;
00082
00083 };
00084
00085
00086 }
00087
00088 #ifndef ITK_MANUAL_INSTANTIATION
00089 #include "itkImageShapeModelEstimatorBase.txx"
00090 #endif
00091
00092
00093
00094 #endif