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

itkRecursiveGaussianImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkRecursiveGaussianImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/04/25 11:36:25 $
00007   Version:   $Revision: 1.17 $
00008 
00009   Copyright (c) 2002 Insight 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 __itkRecursiveGaussianImageFilter_h
00018 #define __itkRecursiveGaussianImageFilter_h
00019 
00020 #include "itkRecursiveSeparableImageFilter.h"
00021 
00022 namespace itk
00023 {
00024   
00036 template <typename TInputImage, typename TOutputImage=TInputImage>
00037 class ITK_EXPORT RecursiveGaussianImageFilter :
00038    public RecursiveSeparableImageFilter<TInputImage,TOutputImage> 
00039 {
00040 public:
00042   typedef RecursiveGaussianImageFilter  Self;
00043   typedef RecursiveSeparableImageFilter<TInputImage,TOutputImage> Superclass;
00044   typedef SmartPointer<Self>   Pointer;
00045   typedef SmartPointer<const Self>  ConstPointer;
00046 
00047   typedef typename Superclass::RealType      RealType;
00048 
00050   itkNewMacro(Self);
00051   
00053   itkTypeMacro( RecursiveGaussianImageFilter, RecursiveSeparableImageFilter );
00054 
00056   itkGetMacro( Sigma, RealType );
00057   itkSetMacro( Sigma, RealType );
00058 
00062   typedef  enum { ZeroOrder, FirstOrder, SecondOrder } OrderEnumType;
00063  
00065   typedef TOutputImage      OutputImageType;
00066 
00067 
00082   itkSetMacro( NormalizeAcrossScale, bool );
00083   itkGetMacro( NormalizeAcrossScale, bool );
00084 
00090    itkSetMacro( Order, OrderEnumType );
00091    itkGetMacro( Order, OrderEnumType );
00092   
00093    
00094 protected:
00095   RecursiveGaussianImageFilter();
00096   virtual ~RecursiveGaussianImageFilter() {};
00097   void PrintSelf(std::ostream& os, Indent indent) const;
00098 
00102   virtual void SetUp(void);
00103 
00109   void ComputeFilterCoefficients(bool symmetric);
00110 
00111 private:  
00112   RecursiveGaussianImageFilter(const Self&); //purposely not implemented
00113   void operator=(const Self&); //purposely not implemented
00114 
00116   RealType m_Sigma;
00117 
00119   bool m_NormalizeAcrossScale; 
00120 
00121   OrderEnumType   m_Order;
00122 
00123 };
00124 
00125 } // end namespace itk
00126 
00127 #ifndef ITK_MANUAL_INSTANTIATION
00128 #include "itkRecursiveGaussianImageFilter.txx"
00129 #endif
00130 
00131 #endif

Generated at Fri May 21 01:15:14 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000