|
CR2RE Pipeline Reference Manual 1.7.0
|
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 |
Definition at line 465 of file hdrl_catalogue.c.
| 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 |
Definition at line 488 of file hdrl_catalogue.c.
| cpl_boolean hdrl_catalogue_parameter_check | ( | const hdrl_parameter * | self | ) |
Check that the parameter is a catalogue parameter.
| self | The parameter to check |
Definition at line 220 of file hdrl_catalogue.c.
Referenced by hdrl_catalogue_parameter_create_parlist().
| 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). |
Definition at line 179 of file hdrl_catalogue.c.
Referenced by hdrl_catalogue_parameter_parse_parlist().
| 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.
Definition at line 274 of file hdrl_catalogue.c.
References hdrl_catalogue_parameter_check().
| 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:
Definition at line 363 of file hdrl_catalogue.c.
References hdrl_catalogue_parameter_create(), and hdrl_join_string().
| 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 |
Definition at line 235 of file hdrl_catalogue.c.
| void hdrl_catalogue_result_delete | ( | hdrl_catalogue_result * | result | ) |
delete hdrl parameter result object
| result | hdrl parameter result object |
Definition at line 442 of file hdrl_catalogue.c.