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/12/22 21:33:31 $ 00007 Version: $Revision: 1.23 $ 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 00046 template <typename TInputImage, typename TOutputImage=TInputImage> 00047 class ITK_EXPORT RecursiveGaussianImageFilter : 00048 public RecursiveSeparableImageFilter<TInputImage,TOutputImage> 00049 { 00050 public: 00052 typedef RecursiveGaussianImageFilter Self; 00053 typedef RecursiveSeparableImageFilter<TInputImage,TOutputImage> Superclass; 00054 typedef SmartPointer<Self> Pointer; 00055 typedef SmartPointer<const Self> ConstPointer; 00056 00057 typedef typename Superclass::RealType RealType; 00058 00060 itkNewMacro(Self); 00061 00063 itkTypeMacro( RecursiveGaussianImageFilter, RecursiveSeparableImageFilter ); 00064 00067 itkGetMacro( Sigma, RealType ); 00068 itkSetMacro( Sigma, RealType ); 00069 00073 typedef enum { ZeroOrder, FirstOrder, SecondOrder } OrderEnumType; 00074 00076 typedef TOutputImage OutputImageType; 00077 00078 00094 itkSetMacro( NormalizeAcrossScale, bool ); 00095 itkGetMacro( NormalizeAcrossScale, bool ); 00096 00103 itkSetMacro( Order, OrderEnumType ); 00104 itkGetMacro( Order, OrderEnumType ); 00105 00107 void SetZeroOrder(); 00108 00110 void SetFirstOrder(); 00111 00113 void SetSecondOrder(); 00114 00115 00116 protected: 00117 RecursiveGaussianImageFilter(); 00118 virtual ~RecursiveGaussianImageFilter() {}; 00119 void PrintSelf(std::ostream& os, Indent indent) const; 00120 00124 virtual void SetUp(void); 00125 00131 void ComputeFilterCoefficients(bool symmetric); 00132 00133 private: 00134 RecursiveGaussianImageFilter(const Self&); //purposely not implemented 00135 void operator=(const Self&); //purposely not implemented 00136 00138 RealType m_Sigma; 00139 00141 bool m_NormalizeAcrossScale; 00142 00143 OrderEnumType m_Order; 00144 00145 }; 00146 00147 } // end namespace itk 00148 00149 #ifndef ITK_MANUAL_INSTANTIATION 00150 #include "itkRecursiveGaussianImageFilter.txx" 00151 #endif 00152 00153 #endif 00154

Generated at Sun Apr 1 02:41:48 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000