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

00001 /*=========================================================================
00002 
00003   Library   : Image Registration Toolkit (IRTK)
00004   Module    : $Id: irtkConvolution.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_H
00014 
00015 #define _IRTKCONVOLUTION_H
00016 
00017 #include <irtkImageToImage.h>
00018 
00019 template <class VoxelType> class irtkConvolution : public irtkImageToImage<VoxelType>
00020 {
00021 
00022 protected:
00023 
00025   Bool _Normalization;
00026 
00027 public:
00028 
00030   irtkConvolution(Bool = False);
00031 
00033   SetMacro(Normalization, Bool);
00034 
00036   GetMacro(Normalization, Bool);
00037 
00038 };
00039 
00040 // Convolution filters without padding
00041 #include <irtkConvolution_1D.h>
00042 #include <irtkConvolution_2D.h>
00043 #include <irtkConvolution_3D.h>
00044 
00045 // Convolution filters with padding
00046 #include <irtkConvolutionWithPadding_1D.h>
00047 #include <irtkConvolutionWithPadding_2D.h>
00048 #include <irtkConvolutionWithPadding_3D.h>
00049 
00050 #endif