00001 /*========================================================================= 00002 00003 Library : Image Registration Toolkit (IRTK) 00004 Module : $Id: irtkConvolution_3D.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 _IRTKCONVOLUTION_3D_H 00014 00015 #define _IRTKCONVOLUTION_3D_H 00016 00024 template <class VoxelType> class irtkConvolution_3D : public irtkConvolution<VoxelType> 00025 { 00026 00027 protected: 00028 00030 irtkGenericImage<irtkRealPixel> *_input2; 00031 00035 virtual Bool RequiresBuffering(); 00036 00038 virtual const char *NameOfClass(); 00039 00043 virtual double Run(int, int, int, int); 00044 00045 public: 00046 00048 irtkConvolution_3D(Bool = False); 00049 00051 virtual void SetInput2(irtkGenericImage<irtkRealPixel> *); 00052 00054 virtual void Initialize(); 00055 }; 00056 00057 #endif