A Survey of Gaussian Convolution Algorithms
Main Page
Modules
Files
File List
Globals
gaussian_conv_vyv.h
Go to the documentation of this file.
1
58
#ifndef _GAUSSIAN_CONV_VYV_H_
59
#define _GAUSSIAN_CONV_VYV_H_
60
61
#include "
num.h
"
62
64
#define VYV_MIN_K 3
65
66
#define VYV_MAX_K 5
67
68
#define VYV_VALID_K(K) (VYV_MIN_K <= (K) && (K) <= VYV_MAX_K)
69
81
typedef
struct
vyv_coeffs_
82
{
83
num
filter
[
VYV_MAX_K
+ 1];
84
num
M
[
VYV_MAX_K
*
VYV_MAX_K
];
85
num
sigma
;
86
num
tol
;
87
int
K
;
88
long
max_iter
;
89
}
vyv_coeffs
;
90
91
void
vyv_precomp
(
vyv_coeffs
*c,
double
sigma,
int
K,
num
tol);
92
void
vyv_gaussian_conv
(
vyv_coeffs
c,
93
num
*dest,
const
num
*src,
long
N,
long
stride);
94
void
vyv_gaussian_conv_image
(
vyv_coeffs
c,
num
*dest,
const
num
*src,
95
int
width,
int
height,
int
num_channels);
96
98
#endif
/* _GAUSSIAN_CONV_VYV_H_ */
Generated on Sat Dec 14 2013 21:33:17 for A Survey of Gaussian Convolution Algorithms by
1.8.3.1