A Survey of Gaussian Convolution Algorithms
gaussian_conv_deriche.h
Go to the documentation of this file.
1 
60 #ifndef _GAUSSIAN_CONV_DERICHE_H_
61 #define _GAUSSIAN_CONV_DERICHE_H_
62 
63 #include "num.h"
64 
66 #define DERICHE_MIN_K 2
67 
68 #define DERICHE_MAX_K 4
69 
70 #define DERICHE_VALID_K(K) (DERICHE_MIN_K <= (K) && (K) <= DERICHE_MAX_K)
71 
84 typedef struct deriche_coeffs
85 {
92  int K;
93  num tol;
94  long max_iter;
96 
97 void deriche_precomp(deriche_coeffs *c, double sigma, int K, num tol);
99  num *dest, num *buffer, const num *src, long N, long stride);
101  num *dest, num *buffer, const num *src,
102  int width, int height, int num_channels);
103 
105 #endif /* _GAUSSIAN_CONV_DERICHE_H_ */