Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkShapeDetectionLevelSetImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkShapeDetectionLevelSetImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/02/18 22:55:43 $
00007   Version:   $Revision: 1.4 $
00008 
00009   Copyright (c) 2002 Insight 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 __itkShapeDetectionLevelSetImageFilter_h_
00018 #define __itkShapeDetectionLevelSetImageFilter_h_
00019 
00020 #include "itkSegmentationLevelSetImageFilter.h"
00021 #include "itkShapeDetectionLevelSetFunction.h"
00022 
00023 namespace itk {
00024 
00098 template <class TInputImage,
00099           class TFeatureImage,
00100           class TOutputPixelType = float >
00101 class ITK_EXPORT ShapeDetectionLevelSetImageFilter
00102   : public SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType, Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension> >
00103 {
00104 public:
00106   typedef ShapeDetectionLevelSetImageFilter Self;
00107   typedef  SegmentationLevelSetImageFilter<TInputImage, TFeatureImage, TOutputPixelType, Image<TOutputPixelType, ::itk::GetImageDimension<TInputImage>::ImageDimension> > 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   
00117   typedef ShapeDetectionLevelSetFunction<OutputImageType,
00118                                                 FeatureImageType> ShapeDetectionFunctionType;
00119   typedef typename ShapeDetectionFunctionType::Pointer ShapeDetectionFunctionPointer;
00120   
00122   itkTypeMacro(ShapeDetectionLevelSetImageFilter, SegmentationLevelSetImageFilter);
00123 
00125   itkNewMacro(Self);
00126      
00127 protected:
00128   ~ShapeDetectionLevelSetImageFilter() {}
00129   ShapeDetectionLevelSetImageFilter();
00130 
00131   virtual void PrintSelf(std::ostream &os, Indent indent) const; 
00132 
00133   ShapeDetectionLevelSetImageFilter(const Self &); // purposely not implemented
00134    void operator=(const Self&); //purposely not implemented
00135 private:
00136   ShapeDetectionFunctionPointer m_ShapeDetectionFunction;
00137 };
00138 
00139 } // end namespace itk
00140 
00141 
00142 
00143 #ifndef ITK_MANUAL_INSTANTIATION
00144 #include "itkShapeDetectionLevelSetImageFilter.txx"
00145 #endif
00146 
00147 #endif

Generated at Fri May 21 01:15:18 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000