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/09/10 14:28:38 $
00007   Version:   $Revision: 1.10 $
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                                             Image<TOutputPixelType, 
00110                                             ::itk::GetImageDimension<TInputImage>::ImageDimension> >
00111 {
00112 public:
00114   typedef ShapeDetectionLevelSetImageFilter Self;
00115   typedef SegmentationLevelSetImageFilter< TInputImage, TFeatureImage, 
00116                                             TOutputPixelType, Image<TOutputPixelType, 
00117                                             ::itk::GetImageDimension<TInputImage>::ImageDimension> > Superclass;
00118   typedef SmartPointer<Self>  Pointer;
00119   typedef SmartPointer<const Self>  ConstPointer;
00120 
00122   typedef typename Superclass::ValueType ValueType;
00123   typedef typename Superclass::OutputImageType OutputImageType;
00124   typedef typename Superclass::FeatureImageType FeatureImageType;
00125   
00127   typedef ShapeDetectionLevelSetFunction<OutputImageType,
00128                                          FeatureImageType> ShapeDetectionFunctionType;
00129   typedef typename ShapeDetectionFunctionType::Pointer ShapeDetectionFunctionPointer;
00130   
00132   itkTypeMacro(ShapeDetectionLevelSetImageFilter, SegmentationLevelSetImageFilter);
00133 
00135   itkNewMacro(Self);
00136      
00137 protected:
00138   ~ShapeDetectionLevelSetImageFilter() {}
00139   ShapeDetectionLevelSetImageFilter();
00140 
00141   virtual void PrintSelf(std::ostream &os, Indent indent) const; 
00142 
00143   ShapeDetectionLevelSetImageFilter(const Self &); // purposely not implemented
00144   void operator=(const Self&); //purposely not implemented
00145 
00148   void GenerateData();
00149 
00150 private:
00151   ShapeDetectionFunctionPointer m_ShapeDetectionFunction;
00152 };
00153 
00154 } // end namespace itk
00155 
00156 
00157 
00158 #ifndef ITK_MANUAL_INSTANTIATION
00159 #include "itkShapeDetectionLevelSetImageFilter.txx"
00160 #endif
00161 
00162 #endif

Generated at Sun Jan 25 13:19:44 2004 for ITK by doxygen 1.3.3 written by Dimitri van Heesch, © 1997-2000