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

itkEigenAnalysis2DImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkEigenAnalysis2DImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2006/03/27 17:01:08 $
00007   Version:   $Revision: 1.15 $
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 __itkEigenAnalysis2DImageFilter_h
00018 #define __itkEigenAnalysis2DImageFilter_h
00019 
00020 #include "itkImageToImageFilter.h"
00021 
00022 
00023 namespace itk {
00024   
00042 template <class TInputImage, class TEigenValueImage, class TEigenVectorImage >
00043 class ITK_EXPORT EigenAnalysis2DImageFilter:
00044     public ImageToImageFilter<TInputImage,TEigenValueImage>
00045 {
00046 public:
00048   typedef EigenAnalysis2DImageFilter  Self;
00049   typedef ImageToImageFilter<TInputImage,TEigenValueImage> Superclass;
00050   typedef SmartPointer<Self>                   Pointer;
00051   typedef SmartPointer<const Self>        ConstPointer;
00052 
00054   itkNewMacro(Self);
00055 
00057   typedef typename TEigenVectorImage::PixelType     EigenVectorType;
00058   typedef typename EigenVectorType::ValueType   VectorComponentType;
00059 
00061   typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
00062 
00064   typedef TEigenValueImage EigenValueImageType;
00065   typedef typename EigenValueImageType::Pointer     EigenValueImagePointer;
00066   typedef typename EigenValueImageType::RegionType  EigenValueImageRegionType; 
00067   typedef typename EigenValueImageType::PixelType   EigenValueImagePixelType; 
00068   typedef TEigenVectorImage                         EigenVectorImageType;
00069   typedef typename EigenVectorImageType::Pointer    EigenVectorImagePointer;
00070   typedef typename EigenVectorImageType::RegionType EigenVectorImageRegionType;
00071   typedef typename EigenVectorImageType::PixelType  EigenVectorImagePixelType;
00072 
00074   itkStaticConstMacro(ImageDimension, unsigned int,
00075                       TInputImage::ImageDimension);
00076 
00079   void SetInput1( TInputImage * image1);
00080 
00085   void SetInput2( TInputImage * image2);
00086 
00089   void SetInput3( TInputImage * image3);
00090 
00092   EigenValueImageType * GetMaxEigenValue( void );
00093 
00095   EigenValueImageType * GetMinEigenValue( void );
00096 
00099   EigenVectorImageType * GetMaxEigenVector( void );
00100 
00102   DataObject::Pointer MakeOutput(unsigned int idx);
00103 
00104 #ifdef ITK_USE_CONCEPT_CHECKING
00105 
00106   itkConceptMacro(VectorComponentHasNumericTraitsCheck,
00107     (Concept::HasNumericTraits<VectorComponentType>));
00108 
00110 #endif
00111 
00112 protected:
00113   EigenAnalysis2DImageFilter();
00114   virtual ~EigenAnalysis2DImageFilter() {};
00115   
00116   void GenerateData( void );
00117 
00118 private:
00119   EigenAnalysis2DImageFilter(const Self&); //purposely not implemented
00120   void operator=(const Self&); //purposely not implemented
00121 
00122 };
00123 
00124 } // end namespace itk
00125 
00126 #ifndef ITK_MANUAL_INSTANTIATION
00127 #include "itkEigenAnalysis2DImageFilter.txx"
00128 #endif
00129 
00130 #endif
00131 
00132 
00133 
00134 
00135 

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