GIRAFFE Pipeline Reference Manual

gislight.h
1 /*
2  * This file is part of the GIRAFFE Pipeline
3  * Copyright (C) 2002-2019 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef GISLIGHT_H
21 #define GISLIGHT_H
22 
23 #include <cxtypes.h>
24 
25 #include <cpl_parameterlist.h>
26 
27 #include <giimage.h>
28 #include <gilocalization.h>
29 
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35  struct GiSLightConfig {
36  const cxchar* model;
37  cxint xorder[2];
38  cxint yorder[2];
39  cxint xstep;
40  cxint ystep;
41  cxdouble ewidth;
42  cxint iswidth;
43  cxbool istrim;
44  cxbool phffcor;
45  cxbool remove;
46  };
47 
48  typedef struct GiSLightConfig GiSLightConfig;
49 
50 
51  cxint giraffe_adjust_scattered_light(GiImage* result,
52  const GiImage* image,
53  const GiLocalization* localization,
54  const GiImage* bpixel, GiImage* phff,
55  const GiSLightConfig* config);
56 
57  GiSLightConfig* giraffe_slight_config_create(cpl_parameterlist*);
58  void giraffe_slight_config_destroy(GiSLightConfig*);
59  void giraffe_slight_config_add(cpl_parameterlist*);
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* GISLIGHT_H */
void giraffe_slight_config_add(cpl_parameterlist *)
Adds parameters for the scattered light computation.
Definition: gislight.c:1601
GiSLightConfig * giraffe_slight_config_create(cpl_parameterlist *)
Creates a setup structure for the scattered light computation.
Definition: gislight.c:1379
cxint giraffe_adjust_scattered_light(GiImage *result, const GiImage *image, const GiLocalization *localization, const GiImage *bpixel, GiImage *phff, const GiSLightConfig *config)
Compute a scattered light model for a given image.
Definition: gislight.c:1197
void giraffe_slight_config_destroy(GiSLightConfig *)
Destroys a scattered light setup structure.
Definition: gislight.c:1569

This file is part of the GIRAFFE Pipeline Reference Manual 2.16.10.
Documentation copyright © 2002-2006 European Southern Observatory.
Generated on Thu Dec 15 2022 21:18:51 by doxygen 1.9.1 written by Dimitri van Heesch, © 1997-2004