gipsf.h
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 GIPSF_H
00029 #define GIPSF_H
00030
00031 #include <cpl_macros.h>
00032 #include <cpl_parameterlist.h>
00033
00034 #include <giimage.h>
00035 #include <gipsfdata.h>
00036 #include <gimodel.h>
00037 #include <giclip.h>
00038
00039
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043
00044 struct GiPsfConfig {
00045 const cxchar* profile;
00046 cxint binsize;
00047 cxint maxwidth;
00048 cxint width;
00049 cxint exponent;
00050 cxint yorder;
00051 cxint worder;
00052 cxbool normalize;
00053 cxbool parameter_fit;
00054 GiFitSetup fit;
00055 GiClipParams clip;
00056 };
00057
00058 typedef struct GiPsfConfig GiPsfConfig;
00059
00060 cxint giraffe_compute_fiber_profiles(GiLocalization* result,
00061 GiImage* image,
00062 GiTable* fibers,
00063 GiLocalization* master,
00064 GiImage* bpixel,
00065 GiPsfConfig* config);
00066
00067
00068
00069
00070
00071 GiPsfConfig* giraffe_psf_config_create(cpl_parameterlist* list);
00072 void giraffe_psf_config_destroy(GiPsfConfig* self);
00073
00074 void giraffe_psf_config_add(cpl_parameterlist* list);
00075
00076
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080
00081 #endif