A Survey of Gaussian Convolution Algorithms
Main Page
Modules
Files
File List
Globals
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
{
86
num
a
[
DERICHE_MAX_K
+ 1];
87
num
b_causal
[
DERICHE_MAX_K
];
88
num
b_anticausal
[
DERICHE_MAX_K
+ 1];
89
num
sum_causal
;
90
num
sum_anticausal
;
91
num
sigma
;
92
int
K
;
93
num
tol
;
94
long
max_iter;
95
}
deriche_coeffs
;
96
97
void
deriche_precomp
(
deriche_coeffs
*c,
double
sigma,
int
K,
num
tol);
98
void
deriche_gaussian_conv
(
deriche_coeffs
c,
99
num
*dest,
num
*buffer,
const
num
*src,
long
N,
long
stride);
100
void
deriche_gaussian_conv_image
(
deriche_coeffs
c,
101
num
*dest,
num
*buffer,
const
num
*src,
102
int
width,
int
height,
int
num_channels);
103
105
#endif
/* _GAUSSIAN_CONV_DERICHE_H_ */
Generated on Sat Dec 14 2013 21:33:17 for A Survey of Gaussian Convolution Algorithms by
1.8.3.1