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: 2009-01-27 19:30:15 $
00007   Version:   $Revision: 1.14 $
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>
00115                                             Superclass;
00116   typedef SmartPointer<Self>                Pointer;
00117   typedef SmartPointer<const Self>          ConstPointer;
00118 
00120   typedef typename Superclass::ValueType        ValueType;
00121   typedef typename Superclass::OutputImageType  OutputImageType;
00122   typedef typename Superclass::FeatureImageType FeatureImageType;
00123 
00125   typedef ShapeDetectionLevelSetFunction<OutputImageType,
00126                                          FeatureImageType> ShapeDetectionFunctionType;
00127   typedef typename ShapeDetectionFunctionType::Pointer ShapeDetectionFunctionPointer;
00128 
00130   itkTypeMacro(ShapeDetectionLevelSetImageFilter, SegmentationLevelSetImageFilter);
00131 
00133   itkNewMacro(Self);
00134 
00135 protected:
00136   ~ShapeDetectionLevelSetImageFilter() {}
00137   ShapeDetectionLevelSetImageFilter();
00138 
00139   virtual void PrintSelf(std::ostream &os, Indent indent) const; 
00140 
00141   ShapeDetectionLevelSetImageFilter(const Self &); // purposely not implemented
00142   void operator=(const Self&); //purposely not implemented
00143 
00146   void GenerateData();
00147 
00148 private:
00149   ShapeDetectionFunctionPointer m_ShapeDetectionFunction;
00150 };
00151 
00152 } // end namespace itk
00153 
00154 #ifndef ITK_MANUAL_INSTANTIATION
00155 #include "itkShapeDetectionLevelSetImageFilter.txx"
00156 #endif
00157 
00158 #endif
00159 

Generated at Mon Jul 12 2010 19:49:02 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000