CR2RE Pipeline Reference Manual 1.6.2
hdrl_cat_casu.h
1/*
2 * This file is part of the HDRL
3 * Copyright (C) 2017 European Southern Observatory
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 */
19
20#ifndef HDRL_CASU_H
21#define HDRL_CASU_H
22
23
24#include "hdrl_cat_def.h"
25
26
27hdrl_casu_fits * hdrl_casu_fits_wrap( cpl_image *im);
28hdrl_casu_fits * hdrl_casu_fits_duplicate( hdrl_casu_fits *in);
29cpl_propertylist * hdrl_casu_fits_get_ehu( hdrl_casu_fits *p);
30cpl_image * hdrl_casu_fits_get_image( hdrl_casu_fits *p);
31void hdrl_casu_fits_delete( hdrl_casu_fits *p);
32
33hdrl_casu_tfits * hdrl_casu_tfits_wrap( cpl_table *tab, cpl_propertylist *ehu);
34cpl_propertylist * hdrl_casu_tfits_get_ehu( hdrl_casu_tfits *p);
35cpl_table * hdrl_casu_tfits_get_table(hdrl_casu_tfits *p);
36void hdrl_casu_tfits_delete( hdrl_casu_tfits *p);
37
38cpl_error_code hdrl_casu_catalogue(
39 hdrl_casu_fits *infile, hdrl_casu_fits *conf,
40 const cpl_wcs *wcs, cpl_size ipix,
41 double threshold, cpl_size icrowd, double rcore,
42 cpl_size bkg_subtr, cpl_size nbsize,
43 hdrl_catalogue_options cattype,
44 double filtfwhm, double gainloc, double saturation,
45 hdrl_casu_result *res);
46
47
48#endif /* HDRL_CASU_H */
hdrl_casu_fits * hdrl_casu_fits_wrap(cpl_image *im)
Wrap an image in a hdrl_casu_fits wrapper.
cpl_propertylist * hdrl_casu_tfits_get_ehu(hdrl_casu_tfits *p)
Get the propertylist for the extension header for a given hdrl_casu_tfits image.
Definition: hdrl_cat_casu.c:98
cpl_image * hdrl_casu_fits_get_image(hdrl_casu_fits *p)
Get the CPL image from the hdrl_casu_fits object.
hdrl_casu_fits * hdrl_casu_fits_duplicate(hdrl_casu_fits *in)
Copy a hdrl_casu_fits structure into another one.
void hdrl_casu_tfits_delete(hdrl_casu_tfits *p)
Free all the workspace associated with a hdrl_casu_fits object.
void hdrl_casu_fits_delete(hdrl_casu_fits *p)
Free all the workspace associated with a hdrl_casu_fits object.
cpl_table * hdrl_casu_tfits_get_table(hdrl_casu_tfits *p)
Get the CPL table from the hdrl_casu_tfits object.
hdrl_casu_tfits * hdrl_casu_tfits_wrap(cpl_table *tab, cpl_propertylist *ehu)
Wrap an table in a hdrl_casu_tfits wrapper.
Definition: hdrl_cat_casu.c:59
cpl_propertylist * hdrl_casu_fits_get_ehu(hdrl_casu_fits *p)
Get the propertylist for the extension header for a given hdrl_casu_fits image.
cpl_error_code hdrl_casu_catalogue(hdrl_casu_fits *infile, hdrl_casu_fits *conf, const cpl_wcs *wcs, cpl_size ipix, double threshold, cpl_size icrowd, double rcore, cpl_size bkg_subtr, cpl_size nbsize, hdrl_catalogue_options cattype, double filtfwhm, double gainloc, double saturation, hdrl_casu_result *res)
Generate object catalogues from input images.