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

itkGeodesicActiveContourShapePriorLevelSetImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGeodesicActiveContourShapePriorLevelSetImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-12-22 13:42:44 $
00007   Version:   $Revision: 1.4 $
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 __itkGeodesicActiveContourShapePriorLevelSetImageFilter_h
00018 #define __itkGeodesicActiveContourShapePriorLevelSetImageFilter_h
00019 
00020 #include "itkShapePriorSegmentationLevelSetImageFilter.h"
00021 #include "itkGeodesicActiveContourShapePriorLevelSetFunction.h"
00022 #include "itkShapePriorMAPCostFunction.h"
00023 
00024 namespace itk {
00025 
00108 template <class TInputImage,
00109           class TFeatureImage,
00110           class TOutputPixelType = float >
00111 class ITK_EXPORT GeodesicActiveContourShapePriorLevelSetImageFilter
00112   : public ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, 
00113                                             TOutputPixelType >
00114 {
00115 public:
00117   typedef GeodesicActiveContourShapePriorLevelSetImageFilter
00118                                     Self;
00119   typedef ShapePriorSegmentationLevelSetImageFilter< TInputImage, TFeatureImage, 
00120                                            TOutputPixelType >
00121                                     Superclass;
00122   typedef SmartPointer<Self>        Pointer;
00123   typedef SmartPointer<const Self>  ConstPointer;
00124 
00126   typedef typename Superclass::ValueType        ValueType;
00127   typedef typename Superclass::OutputImageType  OutputImageType;
00128   typedef typename Superclass::FeatureImageType FeatureImageType;
00129   typedef typename Superclass::OutputPixelType  OutputPixelType;
00130 
00132   typedef GeodesicActiveContourShapePriorLevelSetFunction< OutputImageType,
00133                                                            FeatureImageType > 
00134                                                              GeodesicActiveContourFunctionType;
00135   typedef typename GeodesicActiveContourFunctionType::Pointer
00136   GeodesicActiveContourFunctionPointer;
00137 
00138   
00140   itkTypeMacro(GeodesicActiveContourShapePriorLevelSetImageFilter, 
00141     ShapePriorSegmentationLevelSetImageFilter);
00142 
00144   itkNewMacro(Self);
00145 
00147   void SetDerivativeSigma( float value )
00148     { 
00149     if ( value != m_GeodesicActiveContourFunction->GetDerivativeSigma() )
00150       {
00151       m_GeodesicActiveContourFunction->SetDerivativeSigma( value );
00152       this->Modified();
00153       }
00154     }
00156 
00158   float GetDerivativeSigma() const
00159     { return m_GeodesicActiveContourFunction->GetDerivativeSigma(); }
00160 
00161 protected:
00162   ~GeodesicActiveContourShapePriorLevelSetImageFilter() {}
00163   GeodesicActiveContourShapePriorLevelSetImageFilter();
00164 
00165   virtual void PrintSelf(std::ostream &os, Indent indent) const; 
00166 
00167   GeodesicActiveContourShapePriorLevelSetImageFilter(const Self &); // purposely not implemented
00168   void operator=(const Self&); //purposely not implemented
00169 
00172   void GenerateData();
00173 
00174 private:
00175   GeodesicActiveContourFunctionPointer m_GeodesicActiveContourFunction;
00176 
00177 };
00178 
00179 } // end namespace itk
00180 
00181 #ifndef ITK_MANUAL_INSTANTIATION
00182 #include "itkGeodesicActiveContourShapePriorLevelSetImageFilter.txx"
00183 #endif
00184 
00185 #endif
00186 

Generated at Mon Jul 12 2010 18:25:00 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000