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: 2003/09/10 14:28:55 $ 00007 Version: $Revision: 1.21 $ 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 __itkRecursiveGaussianImageFilter_h 00018 #define __itkRecursiveGaussianImageFilter_h 00019 00020 #include "itkRecursiveSeparableImageFilter.h" 00021 00022 namespace itk 00023 { 00024 00042 template <typename TInputImage, typename TOutputImage=TInputImage> 00043 class ITK_EXPORT RecursiveGaussianImageFilter : 00044 public RecursiveSeparableImageFilter<TInputImage,TOutputImage> 00045 { 00046 public: 00048 typedef RecursiveGaussianImageFilter Self; 00049 typedef RecursiveSeparableImageFilter<TInputImage,TOutputImage> Superclass; 00050 typedef SmartPointer<Self> Pointer; 00051 typedef SmartPointer<const Self> ConstPointer; 00052 00053 typedef typename Superclass::RealType RealType; 00054 00056 itkNewMacro(Self); 00057 00059 itkTypeMacro( RecursiveGaussianImageFilter, RecursiveSeparableImageFilter ); 00060 00063 itkGetMacro( Sigma, RealType ); 00064 itkSetMacro( Sigma, RealType ); 00065 00069 typedef enum { ZeroOrder, FirstOrder, SecondOrder } OrderEnumType; 00070 00072 typedef TOutputImage OutputImageType; 00073 00074 00090 itkSetMacro( NormalizeAcrossScale, bool ); 00091 itkGetMacro( NormalizeAcrossScale, bool ); 00092 00099 itkSetMacro( Order, OrderEnumType ); 00100 itkGetMacro( Order, OrderEnumType ); 00101 00102 00103 protected: 00104 RecursiveGaussianImageFilter(); 00105 virtual ~RecursiveGaussianImageFilter() {}; 00106 void PrintSelf(std::ostream& os, Indent indent) const; 00107 00111 virtual void SetUp(void); 00112 00118 void ComputeFilterCoefficients(bool symmetric); 00119 00120 private: 00121 RecursiveGaussianImageFilter(const Self&); //purposely not implemented 00122 void operator=(const Self&); //purposely not implemented 00123 00125 RealType m_Sigma; 00126 00128 bool m_NormalizeAcrossScale; 00129 00130 OrderEnumType m_Order; 00131 00132 }; 00133 00134 } // end namespace itk 00135 00136 #ifndef ITK_MANUAL_INSTANTIATION 00137 #include "itkRecursiveGaussianImageFilter.txx" 00138 #endif 00139 00140 #endif

Generated at Sat Mar 31 02:27:40 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000