A Survey of Gaussian Convolution Algorithms
gaussian_conv_fir.h
Go to the documentation of this file.
1 
48 #ifndef _GAUSSIAN_CONV_FIR_H_
49 #define _GAUSSIAN_CONV_FIR_H_
50 
51 #include "num.h"
52 
54 typedef struct fir_coeffs_
55 {
57  long radius;
58 } fir_coeffs;
59 
60 int fir_precomp(fir_coeffs *c, double sigma, num tol);
61 void fir_gaussian_conv(fir_coeffs c, num *dest, const num *src,
62  long N, long stride);
63 void fir_gaussian_conv_image(fir_coeffs c, num *dest, num *buffer,
64  const num *src, int width, int height, int num_channels);
65 void fir_free(fir_coeffs *c);
66 
68 #endif /* _GAUSSIAN_CONV_FIR_H_ */