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

itkHessian3DToVesselnessMeasureImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkHessian3DToVesselnessMeasureImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/06/14 17:20:04 $
00007   Version:   $Revision: 1.1 $
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 __itkHessian3DToVesselnessMeasureImageFilter_h
00018 #define __itkHessian3DToVesselnessMeasureImageFilter_h
00019 
00020 #include "itkSymmetricSecondRankTensor.h"
00021 #include "itkSymmetricEigenAnalysisImageFilter.h"
00022 
00023 namespace itk
00024 {
00053 template < typename  TPixel >
00054 class ITK_EXPORT Hessian3DToVesselnessMeasureImageFilter : public
00055 ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, 
00056                                                   Image< TPixel, 3 > >
00057 {
00058 public:
00060   typedef Hessian3DToVesselnessMeasureImageFilter Self;
00061   typedef ImageToImageFilter< 
00062           Image< SymmetricSecondRankTensor< double, 3 >, 3 >, 
00063           Image< TPixel, 3 > >                 Superclass;
00064   typedef SmartPointer<Self>                   Pointer;
00065   typedef SmartPointer<const Self>        ConstPointer;
00066   
00067   typedef typename Superclass::InputImageType            InputImageType;
00068   typedef typename Superclass::OutputImageType           OutputImageType;
00069   typedef typename InputImageType::PixelType             InputPixelType;
00070   typedef TPixel                                         OutputPixelType;
00071   
00073   itkStaticConstMacro(ImageDimension, unsigned int,
00074                       ::itk::GetImageDimension<InputImageType>::ImageDimension);
00075 
00076   typedef   itk::FixedArray< double, InputPixelType::Dimension >
00077                                                           EigenValueArrayType;
00078   typedef  itk::Image< EigenValueArrayType, InputImageType::ImageDimension >
00079                                                           EigenValueImageType;
00080   typedef   SymmetricEigenAnalysisImageFilter< 
00081               InputImageType, EigenValueImageType >     EigenAnalysisFilterType;
00082 
00084   itkNewMacro(Self);
00085   
00087   itkSetMacro(Alpha1, double);
00088   itkGetMacro(Alpha1, double);
00089   
00091   itkSetMacro(Alpha2, double);
00092   itkGetMacro(Alpha2, double);
00093     
00094     
00095 protected:
00096   Hessian3DToVesselnessMeasureImageFilter();
00097   ~Hessian3DToVesselnessMeasureImageFilter() {};
00098   void PrintSelf(std::ostream& os, Indent indent) const;
00099   
00101   void GenerateData( void );
00102 
00103 private:
00104   Hessian3DToVesselnessMeasureImageFilter(const Self&); //purposely not implemented
00105   void operator=(const Self&); //purposely not implemented
00106 
00107   typename EigenAnalysisFilterType::Pointer         m_SymmetricEigenValueFilter;
00108   double m_Alpha1;
00109   double m_Alpha2;
00110 };
00111 
00112 } // end namespace itk
00113 
00114 #ifndef ITK_MANUAL_INSTANTIATION
00115 #include "itkHessian3DToVesselnessMeasureImageFilter.txx"
00116 #endif
00117   
00118 #endif

Generated at Wed May 24 23:15:37 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000