|
High-Level Data Reduction Library 1.6.0
High-Level data reduction routines for ESO pipelines
|
This module provides algorithms to build an objects catalogue. Depending on the value of the control parameter "resulttype", additional products may be generated: a full catalogue, the background map, the segmentation map. More...
Functions | |
| hdrl_parameter * | hdrl_catalogue_parameter_create (int obj_min_pixels, double obj_threshold, cpl_boolean obj_deblending, double obj_core_radius, cpl_boolean bkg_estimate, int bkg_mesh_size, double bkg_smooth_fwhm, double det_eff_gain, double det_saturation, hdrl_catalogue_options resulttype) |
| Creates catalogue Parameters object. | |
| cpl_boolean | hdrl_catalogue_parameter_check (const hdrl_parameter *self) |
| Check that the parameter is a catalogue parameter. | |
| cpl_error_code | hdrl_catalogue_parameter_set_option (hdrl_parameter *par, hdrl_catalogue_options opt) |
| set result option of catalogue parameter | |
| cpl_parameterlist * | hdrl_catalogue_parameter_create_parlist (const char *base_context, const char *prefix, hdrl_parameter *defaults) |
| Create parameter list for the catalogue computation. | |
| hdrl_parameter * | hdrl_catalogue_parameter_parse_parlist (const cpl_parameterlist *parlist, const char *prefix) |
| Parse parameter list to create input parameters for the catalogue. | |
| void | hdrl_catalogue_result_delete (hdrl_catalogue_result *result) |
| delete hdrl parameter result object | |
| hdrl_catalogue_result * | hdrl_catalogue_compute (const cpl_image *image_, const cpl_image *confidence_map, const cpl_wcs *wcs, hdrl_parameter *param_) |
| build object catalog | |
| hdrl_catalogue_result * | hdrl_catalogue_compute_experimental (const cpl_image *image_, const cpl_image *confidence_map, const cpl_wcs *wcs, hdrl_parameter *param_) |
| build object catalog (experimental QC mode) | |
This module provides algorithms to build an objects catalogue. Depending on the value of the control parameter "resulttype", additional products may be generated: a full catalogue, the background map, the segmentation map.
A local sky background is estimated and removed
Objects and blends are detected and the image pixels are assigned to each object (or blend) they belong to.
On the objects it is performed astrometry, photometry and shape analysis.
| hdrl_catalogue_result * hdrl_catalogue_compute | ( | const cpl_image * | image_, |
| const cpl_image * | confidence_map, | ||
| const cpl_wcs * | wcs, | ||
| hdrl_parameter * | param_ | ||
| ) |
build object catalog
| image_ | input image |
| confidence_map | confidence map (optional input) |
| wcs | wcs information (optional input) |
| param_ | parameter structure controlling catalog determination |
| hdrl_catalogue_result * hdrl_catalogue_compute_experimental | ( | const cpl_image * | image_, |
| const cpl_image * | confidence_map, | ||
| const cpl_wcs * | wcs, | ||
| hdrl_parameter * | param_ | ||
| ) |
build object catalog (experimental QC mode)
| image_ | input image |
| confidence_map | confidence map (optional input) |
| wcs | wcs information (optional input) |
| param_ | parameter structure controlling catalog determination |
| cpl_boolean hdrl_catalogue_parameter_check | ( | const hdrl_parameter * | self | ) |
Check that the parameter is a catalogue parameter.
| self | The parameter to check |
| hdrl_parameter * hdrl_catalogue_parameter_create | ( | int | obj_min_pixels, |
| double | obj_threshold, | ||
| cpl_boolean | obj_deblending, | ||
| double | obj_core_radius, | ||
| cpl_boolean | bkg_estimate, | ||
| int | bkg_mesh_size, | ||
| double | bkg_smooth_fwhm, | ||
| double | det_eff_gain, | ||
| double | det_saturation, | ||
| hdrl_catalogue_options | resulttype | ||
| ) |
Creates catalogue Parameters object.
| obj_min_pixels | Minimum pixel area for each detected object. |
| obj_threshold | Detection threshold in sigma above sky. |
| obj_deblending | Use deblending? |
| obj_core_radius | Value of Rcore in pixels. |
| bkg_estimate | Estimate background from input, if false it is assumed input is already background corrected with median 0. |
| bkg_mesh_size | Background smoothing box size. |
| bkg_smooth_fwhm | The FWHM of the Gaussian kernel used in convolution for object detection. |
| det_eff_gain | Detector gain value to rescale convert intensity to electrons. |
| det_saturation | Detector saturation value. |
| resulttype | Requested output: CAT (table), BKG(image), SEGMAP(image), QCLIST(propertylist). |
| cpl_parameterlist * hdrl_catalogue_parameter_create_parlist | ( | const char * | base_context, |
| const char * | prefix, | ||
| hdrl_parameter * | defaults | ||
| ) |
Create parameter list for the catalogue computation.
| base_context | base context of parameter (e.g. recipe name) |
| prefix | prefix of parameter, may be an empty string |
| defaults | hdrl_parameter defining the defaults |
Creates a parameter list with the catalogue parameters:
The CLI aliases omit the base_context.
| hdrl_parameter * hdrl_catalogue_parameter_parse_parlist | ( | const cpl_parameterlist * | parlist, |
| const char * | prefix | ||
| ) |
Parse parameter list to create input parameters for the catalogue.
| parlist | parameter list to parse |
| prefix | prefix of parameter name |
Reads a parameter list in order to create catalogue parameters.
Expects a parameter list containing:
| cpl_error_code hdrl_catalogue_parameter_set_option | ( | hdrl_parameter * | par, |
| hdrl_catalogue_options | opt | ||
| ) |
set result option of catalogue parameter
| par | hdrl catalogue parameter |
| opt | the options to set |
| void hdrl_catalogue_result_delete | ( | hdrl_catalogue_result * | result | ) |
delete hdrl parameter result object
| result | hdrl parameter result object |