X-shooter Pipeline Reference Manual 3.8.15
xsh_utils_wrappers.h
Go to the documentation of this file.
1/* *
2 * This file is part of the ESO X-shooter Pipeline *
3 * Copyright (C) 2006 European Southern Observatory *
4 * *
5 * This library is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software *
17 * Foundation, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA *
18 * */
19
20#ifndef XSH_UTILS_WRAPPERS_H
21#define XSH_UTILS_WRAPPERS_H
22
23#include <cpl.h>
24#include <xsh_cpl_size.h>
25cpl_image*
26xsh_image_filter_mode(const cpl_image* b,
27 const cpl_matrix * ker,
28 cpl_filter_mode filter);
29
30cpl_polynomial *
32 const cpl_vector * x_pos,
33 const cpl_vector * values,
34 int degree,
35 double * mse
36 );
37
38
39cpl_polynomial * xsh_polynomial_fit_2d_create(cpl_bivector * xy_pos,
40 cpl_vector * values,
41 cpl_size* degree,
42 double * mse);
43
44cpl_image * xsh_image_filter_median(const cpl_image *, const cpl_matrix *);
45cpl_image * xsh_image_filter_linear(const cpl_image *, const cpl_matrix *);
46
47#endif
static int degree
int filter
cpl_polynomial * xsh_polynomial_fit_2d_create(cpl_bivector *xy_pos, cpl_vector *values, cpl_size *degree, double *mse)
cpl_image * xsh_image_filter_linear(const cpl_image *, const cpl_matrix *)
cpl_polynomial * xsh_polynomial_fit_1d_create(const cpl_vector *x_pos, const cpl_vector *values, int degree, double *mse)
cpl_image * xsh_image_filter_median(const cpl_image *, const cpl_matrix *)
cpl_image * xsh_image_filter_mode(const cpl_image *b, const cpl_matrix *ker, cpl_filter_mode filter)