|
X-shooter Pipeline Reference Manual 3.8.15
|
Go to the source code of this file.
Functions | |
| const char * | xsh_detmon_get_license (void) |
| Get the pipeline copyright and license. | |
| static void | expand_region (const cpl_image *ref, cpl_size *llx, cpl_size *lly, cpl_size *urx, cpl_size *ury) |
| utility to convert negative region to full image | |
| cpl_imagelist * | xsh_detmon_load_frameset_window (const cpl_frameset *fset, cpl_type type, cpl_size pnum, cpl_size xtnum, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury, cpl_size nx, cpl_size ny) |
| load data in frameset into an imagelist | |
| cpl_image * | xsh_detmon_subtract_create_window (const cpl_image *a, const cpl_image *b, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury) |
| subtract window two images creating new image of window size | |
| cpl_image * | xsh_detmon_subtracted_avg (const cpl_image *on1, const cpl_image *off1, const cpl_image *on2, const cpl_image *off2, cpl_size llx, cpl_size lly, cpl_size urx, cpl_size ury) |
| return absolute average of subtracted images | |
|
static |
utility to convert negative region to full image
| ref | reference image, region set to image size |
| llx | lower left X coordinate |
| lly | lower left Y coordinate |
| urx | upper right X coordinate |
| ury | upper right Y coordinate |
Definition at line 95 of file xsh_detmon_utils.c.
References llx, lly, ref, urx, and ury.
Referenced by xsh_detmon_subtracted_avg().
| const char * xsh_detmon_get_license | ( | void | ) |
Get the pipeline copyright and license.
The function returns a pointer to the statically allocated license string. This string should not be modified using the returned pointer.
Definition at line 59 of file xsh_detmon_utils.c.
| cpl_imagelist * xsh_detmon_load_frameset_window | ( | const cpl_frameset * | fset, |
| cpl_type | type, | ||
| cpl_size | pnum, | ||
| cpl_size | xtnum, | ||
| cpl_size | llx, | ||
| cpl_size | lly, | ||
| cpl_size | urx, | ||
| cpl_size | ury, | ||
| cpl_size | nx, | ||
| cpl_size | ny | ||
| ) |
load data in frameset into an imagelist
| fset | frameset to load from |
| type | type to convert data to |
| pnum | plane number in cube to load (0 for first) |
| xtnum | extension in file to load (0 for first, -1 for all) |
| llx | lower left x |
| lly | lower left y |
| urx | upper right x |
| ury | upper right y |
| nx | output image size x |
| ny | output image size y |
Definition at line 134 of file xsh_detmon_utils.c.
References llx, lly, n, nx, ny, urx, and ury.
Referenced by irplib_load_fset_wrp(), and xsh_detmon_lg_lamp_stab().
| cpl_image * xsh_detmon_subtract_create_window | ( | const cpl_image * | a, |
| const cpl_image * | b, | ||
| cpl_size | llx, | ||
| cpl_size | lly, | ||
| cpl_size | urx, | ||
| cpl_size | ury | ||
| ) |
subtract window two images creating new image of window size
| a | image |
| b | image |
| llx | lower left X coordinate |
| lly | lower left Y coordinate |
| urx | upper right X coordinate |
| ury | upper right Y coordinate |
Definition at line 210 of file xsh_detmon_utils.c.
References llx, lly, urx, and ury.
Referenced by xsh_detmon_gain_prepare_table(), and xsh_detmon_gain_table_fill_row().
| cpl_image * xsh_detmon_subtracted_avg | ( | const cpl_image * | on1, |
| const cpl_image * | off1, | ||
| const cpl_image * | on2, | ||
| const cpl_image * | off2, | ||
| cpl_size | llx, | ||
| cpl_size | lly, | ||
| cpl_size | urx, | ||
| cpl_size | ury | ||
| ) |
return absolute average of subtracted images
| on1 | first on image |
| off1 | first off image |
| on2 | second on image |
| off2 | second off image |
| off2 | second off image |
| llx | lower left X coordinate |
| lly | lower left Y coordinate |
| urx | upper right X coordinate |
| ury | upper right Y coordinate |
Definition at line 243 of file xsh_detmon_utils.c.
References expand_region(), llx, lly, urx, and ury.
Referenced by xsh_detmon_lin_table_fill_row(), and xsh_detmon_opt_contamination().