FORS Pipeline Reference Manual  4.12.5
fors_identify.h
1 /* $Id: fors_identify.h,v 1.10 2013-09-10 15:16:32 cgarcia Exp $
2  *
3  * This file is part of the FORS Library
4  * Copyright (C) 2002-2010 European Southern Observatory
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 /*
22  * $Author: cgarcia $
23  * $Date: 2013-09-10 15:16:32 $
24  * $Revision: 1.10 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef FORS_IDENTIFY_H
29 #define FORS_IDENTIFY_H
30 
31 #include <fors_star.h>
32 
33 #include <cpl.h>
34 
35 CPL_BEGIN_DECLS
36 
37 typedef struct _identify_method identify_method;
38 
39 void
40 fors_identify_define_parameters(cpl_parameterlist *parameters,
41  const char *context);
42 identify_method *
43 fors_identify_method_new(const cpl_parameterlist *parameters, const char *context);
44 
45 void
46 fors_identify_method_delete(identify_method **im);
47 
48 void
49 fors_identify(fors_star_list *stars,
50  fors_std_star_list *cat,
51  const identify_method *im,
52  cpl_image **histogram);
53 
54 
55 CPL_END_DECLS
56 
57 #endif
identify_method * fors_identify_method_new(const cpl_parameterlist *parameters, const char *context)
Get id method from parameter list.
void fors_identify_method_delete(identify_method **im)
Deallocate identifyion method and set the pointer to NULL.
void fors_identify(fors_star_list *stars, fors_std_star_list *cat, const identify_method *im, cpl_image **histogram)
Identify sources.
void fors_identify_define_parameters(cpl_parameterlist *parameters, const char *context)
Define recipe parameters.
Definition: fors_identify.c:82