25 #ifndef __Binomial_hh__
26 #define __Binomial_hh__
28 #include "Convolution.hh"
30 #define D_BINOMIAL_KERNEL 0x00010000
31 #define D_BINOMIAL_WRITE_IM 0x00020000
41 template <
class InputStorageType,
class OutputStorageType>
43 :
public Convolution<InputStorageType, OutputStorageType>
101 {
return _HalfWinSize; }
104 { _HalfWinSize = hws; }
112 void _CalculateKernel(
int HalfWinSize);
114 virtual void GetBordersValid_(
int &border_x,
int &border_y)
const;
129 #endif // __Binomial_hh__
generic convolution class.
base class for simple n->n filter implementations
binomial low pass filter class
void SetHalfWinSize(int hws)
virtual FilterNToN< InputStorageType, OutputStorageType > * Clone() const
int _HalfWinSize
the parameter
int GetHalfWinSize() const