/vol/vipdata/irtk/image++/include/irtkGaussianBlurring.h

00001 /*=========================================================================
00002 
00003   Library   : Image Registration Toolkit (IRTK)
00004   Module    : $Id: irtkGaussianBlurring.h 2 2008-12-23 12:40:14Z dr $
00005   Copyright : Imperial College, Department of Computing
00006               Visual Information Processing (VIP), 2008 onwards
00007   Date      : $Date: 2008-12-23 12:40:14 +0000 (Tue, 23 Dec 2008) $
00008   Version   : $Revision: 2 $
00009   Changes   : $Author: dr $
00010 
00011 =========================================================================*/
00012 
00013 #ifndef _IRTKGAUSSIANBLURRING_H
00014 
00015 #define _IRTKGAUSSIANBLURRING_H
00016 
00017 #include <irtkImageToImage.h>
00018 
00027 template <class VoxelType> class irtkGaussianBlurring : public irtkImageToImage<VoxelType>
00028 {
00029 
00030 protected:
00031 
00033   double _Sigma;
00034 
00036   virtual Bool RequiresBuffering();
00037 
00039   virtual const char *NameOfClass();
00040 
00041 public:
00042 
00044   irtkGaussianBlurring(double);
00045 
00047   ~irtkGaussianBlurring();
00048 
00050   virtual void Run();
00051 
00053   SetMacro(Sigma, double);
00054 
00056   GetMacro(Sigma, double);
00057 
00058 };
00059 
00060 #include <irtkGaussianBlurringWithPadding.h>
00061 
00062 #endif