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
00048 bool
00049 fors_extract_check_sex_flag( unsigned int sex_flag);
00050
00051 bool
00052 fors_extract_check_sex_star( const fors_star *star,
00053 const cpl_image *ref_img);
00054
00055
00056 extract_method *
00057 fors_extract_method_new( const cpl_parameterlist *parameters,
00058 const char *context);
00059
00060 void
00061 fors_extract_method_delete( extract_method **em);
00062
00063 fors_star_list *
00064 fors_extract( const fors_image *image,
00065 const fors_setting *setting,
00066 const extract_method *em,
00067 fors_extract_sky_stats *sky_stats,
00068 cpl_image **background,
00069 cpl_table **extracted_sources);
00070
00071
00072 CPL_END_DECLS
00073
00074 #endif