00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef FORS_EXTRACT_H
00029 #define FORS_EXTRACT_H
00030
00031 #include <fors_star.h>
00032 #include <fors_image.h>
00033
00034 #include <cpl.h>
00035
00036 CPL_BEGIN_DECLS
00037
00038 typedef struct _extract_method extract_method;
00039
00040 typedef struct fors_extract_sky_stats {
00041 double mean, median, rms;
00042 } fors_extract_sky_stats;
00043
00044 void
00045 fors_extract_define_parameters(cpl_parameterlist *parameters,
00046 const char *context);
00047 extract_method *
00048 fors_extract_method_new(const cpl_parameterlist *parameters, const char *context);
00049
00050 void
00051 fors_extract_method_delete(extract_method **em);
00052
00053 fors_star_list *
00054 fors_extract(const fors_image *image,
00055 const fors_setting *setting,
00056 const extract_method *em,
00057 fors_extract_sky_stats *sky_stats,
00058 cpl_image **background,
00059 cpl_table **extracted_sources);
00060
00061
00062 CPL_END_DECLS
00063
00064 #endif