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: 2004/06/01 18:33:45 $
00007   Version:   $Revision: 1.13 $
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 __itkShapeDetectionLevelSetImageFilter_h_
00018 #define __itkShapeDetectionLevelSetImageFilter_h_
00019 
00020 #include "itkSegmentationLevelSetImageFilter.h"
00021 #include "itkShapeDetectionLevelSetFunction.h"
00022 
00023 namespace itk {
00024 
00103 template <class TInputImage,
00104           class TFeatureImage,
00105           class TOutputPixelType = float >
00106 class ITK_EXPORT ShapeDetectionLevelSetImageFilter
00107   : public SegmentationLevelSetImageFilter< TInputImage, 
00108                                             TFeatureImage, TOutputPixelType >
00109 {
00110 public:
00112   typedef ShapeDetectionLevelSetImageFilter Self;
00113   typedef SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, 
00114                                             TOutputPixelType> Superclass;
00115   typedef SmartPointer<Self>  Pointer;
00116   typedef SmartPointer<const Self>  ConstPointer;
00117 
00119   typedef typename Superclass::ValueType ValueType;
00120   typedef typename Superclass::OutputImageType OutputImageType;
00121   typedef typename Superclass::FeatureImageType FeatureImageType;
00122 
00124   typedef ShapeDetectionLevelSetFunction<OutputImageType,
00125                                          FeatureImageType> ShapeDetectionFunctionType;
00126   typedef typename ShapeDetectionFunctionType::Pointer ShapeDetectionFunctionPointer;
00127 
00129   itkTypeMacro(ShapeDetectionLevelSetImageFilter, SegmentationLevelSetImageFilter);
00130 
00132   itkNewMacro(Self);
00133 
00134 protected:
00135   ~ShapeDetectionLevelSetImageFilter() {}
00136   ShapeDetectionLevelSetImageFilter();
00137 
00138   virtual void PrintSelf(std::ostream &os, Indent indent) const; 
00139 
00140   ShapeDetectionLevelSetImageFilter(const Self &); // purposely not implemented
00141   void operator=(const Self&); //purposely not implemented
00142 
00145   void GenerateData();
00146 
00147 private:
00148   ShapeDetectionFunctionPointer m_ShapeDetectionFunction;
00149 };
00150 
00151 } // end namespace itk
00152 
00153 
00154 
00155 #ifndef ITK_MANUAL_INSTANTIATION
00156 #include "itkShapeDetectionLevelSetImageFilter.txx"
00157 #endif
00158 
00159 #endif
00160 

Generated at Sun Sep 23 14:13:13 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000