VSF Documented
tsfilter.h
Go to the documentation of this file.
1#ifndef __TSFILTER_H__
2#define __TSFILTER_H__
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include "./median.h"
9#include "./mean.h"
10
11struct tsfilter_t {
12 struct median_filter_t * mx, * my;
13 struct mean_filter_t * nx, * ny;
14 int cal[7];
15};
16
17struct tsfilter_t * tsfilter_alloc(int ml, int nl);
18void tsfilter_free(struct tsfilter_t * filter);
19void tsfilter_setcal(struct tsfilter_t * filter, int * cal);
20void tsfilter_update(struct tsfilter_t * filter, int * x, int * y);
21void tsfilter_clear(struct tsfilter_t * filter);
22
23#ifdef __cplusplus
24}
25#endif
26
27#endif /* __TSFILTER_H__ */
Definition mean.h:8
Definition median.h:8
Definition tsfilter.h:11
int cal[7]
Definition tsfilter.h:14
struct median_filter_t * my
Definition tsfilter.h:12
struct median_filter_t * mx
Definition tsfilter.h:12
struct mean_filter_t * ny
Definition tsfilter.h:13
struct mean_filter_t * nx
Definition tsfilter.h:13
struct tsfilter_t * tsfilter_alloc(int ml, int nl)
Definition tsfilter.c:11
void tsfilter_free(struct tsfilter_t *filter)
Definition tsfilter.c:48
void tsfilter_clear(struct tsfilter_t *filter)
Definition tsfilter.c:90
void tsfilter_setcal(struct tsfilter_t *filter, int *cal)
Definition tsfilter.c:64
void tsfilter_update(struct tsfilter_t *filter, int *x, int *y)
Definition tsfilter.c:78