Functions | |
cpl_table * | irplib_slitpos_analysis (const cpl_image *imslit, int slit_max_width, double *slit_flux) |
Detect the slit position, detect its ends, extract a thin image containing only the slit and find its edges. |
cpl_table* irplib_slitpos_analysis | ( | const cpl_image * | imslit, | |
int | slit_max_width, | |||
double * | slit_flux | |||
) |
Detect the slit position, detect its ends, extract a thin image containing only the slit and find its edges.
imslit | Input image with a vertical slit | |
slit_max_width | Maximum slit width | |
slit_flux | Some of the pixels values of the slit |
This function returns a table with 3 columns:
Additionally, the slit flux is computed. The passed slit_flux pointer parameter can be NULL. In error case, its value is undefined.
NB: Coordinates use FITS convention.
Definition at line 110 of file irplib_slitpos.c.
References irplib_flat_fit_slope_robust(), and irplib_image_filter_background_line().