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

00001 /*=========================================================================
00002 
00003   Library   : Image Registration Toolkit (IRTK)
00004   Module    : $Id: irtkGradientImageX.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 _IRTKGRADIENTIMAGE_X_H
00014 
00015 #define _IRTKGRADIENTIMAGE_X_H
00016 
00017 #include <irtkGradientImage.h>
00018 
00023 template <class VoxelType> class irtkGradientImageX : public irtkGradientImage<VoxelType>
00024 {
00025 
00026 protected:
00027 
00028 
00032   virtual Bool RequiresBuffering();
00033 
00035   virtual const char *NameOfClass();
00036 
00037   // Calculate the gradient on a single voxel.
00038   virtual double Run(int, int, int, int);
00039 
00040 public:
00041 
00043   virtual void Run();
00044 };
00045 
00046 
00047 #endif