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: 2007/08/28 14:26:56 $
00007   Version:   $Revision: 1.5 $
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 {
00072 template < typename  TPixel >
00073 class ITK_EXPORT Hessian3DToVesselnessMeasureImageFilter : public
00074 ImageToImageFilter< Image< SymmetricSecondRankTensor< double, 3 >, 3 >, 
00075                                                   Image< TPixel, 3 > >
00076 {
00077 public:
00079   typedef Hessian3DToVesselnessMeasureImageFilter Self;
00080   typedef ImageToImageFilter< 
00081           Image< SymmetricSecondRankTensor< double, 3 >, 3 >, 
00082           Image< TPixel, 3 > >                 Superclass;
00083   typedef SmartPointer<Self>                   Pointer;
00084   typedef SmartPointer<const Self>        ConstPointer;
00085 
00086   typedef typename Superclass::InputImageType            InputImageType;
00087   typedef typename Superclass::OutputImageType           OutputImageType;
00088   typedef typename InputImageType::PixelType             InputPixelType;
00089   typedef TPixel                                         OutputPixelType;
00090   
00092   itkStaticConstMacro(ImageDimension, unsigned int,
00093                       ::itk::GetImageDimension<InputImageType>::ImageDimension);
00094   itkStaticConstMacro(InputPixelDimension, unsigned int,
00095                       InputPixelType::Dimension);
00097 
00098   typedef  FixedArray< double, itkGetStaticConstMacro(InputPixelDimension) >
00099                                                           EigenValueArrayType;
00100   typedef  Image< EigenValueArrayType, itkGetStaticConstMacro(ImageDimension) >
00101                                                           EigenValueImageType;
00102   typedef   SymmetricEigenAnalysisImageFilter< 
00103               InputImageType, EigenValueImageType >     EigenAnalysisFilterType;
00104 
00106   itkNewMacro(Self);
00107 
00110   itkSetMacro(Alpha1, double);
00111   itkGetMacro(Alpha1, double);
00113 
00116   itkSetMacro(Alpha2, double);
00117   itkGetMacro(Alpha2, double);
00119 
00120 #ifdef ITK_USE_CONCEPT_CHECKING
00121 
00122   itkConceptMacro(DoubleConvertibleToOutputCheck,
00123                   (Concept::Convertible<double, OutputPixelType>));
00124 
00126 #endif
00127 
00128 protected:
00129   Hessian3DToVesselnessMeasureImageFilter();
00130   ~Hessian3DToVesselnessMeasureImageFilter() {};
00131   void PrintSelf(std::ostream& os, Indent indent) const;
00132   
00134   void GenerateData( void );
00135 
00136 private:
00137   Hessian3DToVesselnessMeasureImageFilter(const Self&); //purposely not implemented
00138   void operator=(const Self&); //purposely not implemented
00139 
00140   typename EigenAnalysisFilterType::Pointer         m_SymmetricEigenValueFilter;
00141   double m_Alpha1;
00142   double m_Alpha2;
00143 };
00144 
00145 } // end namespace itk
00146 
00147 #ifndef ITK_MANUAL_INSTANTIATION
00148 #include "itkHessian3DToVesselnessMeasureImageFilter.txx"
00149 #endif
00150   
00151 #endif
00152 

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