A Survey of Gaussian Convolution Algorithms
gaussian_conv_ebox.h
Go to the documentation of this file.
1 
55 #ifndef _GAUSSIAN_CONV_EBOX_H_
56 #define _GAUSSIAN_CONV_EBOX_H_
57 
58 #include "num.h"
59 
61 typedef struct ebox_coeffs_
62 {
63  num c_1;
64  num c_2;
65  long r;
66  int K;
67 } ebox_coeffs;
68 
69 void ebox_precomp(ebox_coeffs *c, double sigma, int K);
70 void ebox_gaussian_conv(ebox_coeffs c, num *dest, num *buffer,
71  const num *src, long N, long stride);
72 void ebox_gaussian_conv_image(ebox_coeffs c, num *dest, num *buffer,
73  const num *src, int width, int height, int num_channels);
74 
76 #endif /* _GAUSSIAN_CONV_EBOX_H_ */