00001 /*========================================================================= 00002 00003 Library : Image Registration Toolkit (IRTK) 00004 Module : $Id: irtkConvolution_2D.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_2D_H 00014 00015 #define _IRTKCONVOLUTION_2D_H 00016 00026 template <class VoxelType> class irtkConvolution_2D : public irtkConvolution<VoxelType> 00027 { 00028 00029 protected: 00030 00032 irtkGenericImage<irtkRealPixel> *_input2; 00033 00037 virtual Bool RequiresBuffering(); 00038 00040 virtual const char *NameOfClass(); 00041 00045 virtual double Run(int, int, int, int); 00046 00047 public: 00048 00050 irtkConvolution_2D(Bool = False); 00051 00053 virtual void SetInput2(irtkGenericImage<irtkRealPixel> *); 00054 00056 virtual void Initialize(); 00057 }; 00058 00059 #endif