#include <xsh_utils_wrappers.h>
#include <xsh_error.h>
#include <xsh_msg.h>
#include <math.h>
Go to the source code of this file.
Functions | |
cpl_image * | xsh_image_filter_mode (const cpl_image *b, const cpl_matrix *ker, cpl_filter_mode filter) |
cpl_polynomial * | xsh_polynomial_fit_2d_create (cpl_bivector *xy_pos, cpl_vector *values, int degree, double *mse) |
cpl_polynomial * | xsh_polynomial_fit_1d_create (const cpl_vector *x_pos, const cpl_vector *values, int degree, double *mse) |
static cpl_image * | xsh_image_filter_wrapper (const cpl_image *b, const cpl_matrix *k, cpl_filter_mode mode) |
cpl_image * | xsh_image_filter_median (const cpl_image *img, const cpl_matrix *mx) |
cpl_image * | xsh_image_filter_linear (const cpl_image *img, const cpl_matrix *mx) |
cpl_image* xsh_image_filter_linear | ( | const cpl_image * | img, | |
const cpl_matrix * | mx | |||
) |
Definition at line 173 of file xsh_utils_wrappers.c.
References xsh_image_filter_mode().
Referenced by xsh_remove_crh_single().
cpl_image* xsh_image_filter_median | ( | const cpl_image * | img, | |
const cpl_matrix * | mx | |||
) |
Definition at line 167 of file xsh_utils_wrappers.c.
References xsh_image_filter_wrapper().
Referenced by xsh_image_mflat_detect_blemishes(), xsh_image_mflat_detect_hotcold(), xsh_remove_crh_single(), and xsh_spectrum_find_brightest().
cpl_image* xsh_image_filter_mode | ( | const cpl_image * | b, | |
const cpl_matrix * | ker, | |||
cpl_filter_mode | filter | |||
) |
Definition at line 26 of file xsh_utils_wrappers.c.
References check, nx, ny, and xsh_msg_error.
Referenced by xsh_image_filter_linear().
static cpl_image * xsh_image_filter_wrapper | ( | const cpl_image * | b, | |
const cpl_matrix * | k, | |||
cpl_filter_mode | mode | |||
) | [static] |
Definition at line 180 of file xsh_utils_wrappers.c.
References m, nx, ny, and xsh_msg_dbg_medium.
Referenced by xsh_image_filter_median().
cpl_polynomial* xsh_polynomial_fit_1d_create | ( | const cpl_vector * | x_pos, | |
const cpl_vector * | values, | |||
int | degree, | |||
double * | mse | |||
) |
Definition at line 128 of file xsh_utils_wrappers.c.
Referenced by create_blaze(), xsh_array_clip_poly1d(), xsh_compute_flat_edges(), xsh_compute_linearity(), xsh_detect_continuum(), xsh_detect_order_edge(), xsh_image_create_model_image(), xsh_image_gaussian_fit_y(), xsh_localize_obj_auto(), xsh_order_edge_list_fit(), xsh_order_list_fit(), and xsh_vector_integrate().
cpl_polynomial* xsh_polynomial_fit_2d_create | ( | cpl_bivector * | xy_pos, | |
cpl_vector * | values, | |||
int | degree, | |||
double * | mse | |||
) |
Definition at line 84 of file xsh_utils_wrappers.c.
Referenced by xsh_wavemap_list_compute_poly().