ifw-odp  2.0.0-alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
clipm_image_signal.h
Go to the documentation of this file.
1 
2 /*********************************************************************
3  * E.S.O. - VLT project
4  *
5  * "@(#) $Id: clipm_image_signal.h 262699 2014-12-08 19:15:56Z cgarcia $"
6  *
7  * Functions for image signal processing
8  *
9  * who when what
10  * -------- ---------- ----------------------------------------------
11  * hlorch 2008-08-28 created
12  */
13 
14 #ifndef CLIPM_IMAGE_SIGNAL_H
15 #define CLIPM_IMAGE_SIGNAL_H
16 
17 /*-----------------------------------------------------------------------------
18  Includes
19  -----------------------------------------------------------------------------*/
20 
21 #include <cpl.h>
22 
23 /*-----------------------------------------------------------------------------
24  Declaration Block
25  -----------------------------------------------------------------------------*/
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
31 /*-----------------------------------------------------------------------------
32  Prototypes
33  -----------------------------------------------------------------------------*/
34 
36  const cpl_image *img,
37  const cpl_size window_xxyy[4],
38  double *out_sigma,
39  cpl_size *out_nused);
40 
42  const cpl_image *img,
43  double x_peakpos,
44  double y_peakpos,
45  double bg_level);
46 
48  const cpl_image *img,
49  const cpl_size window_xxyy[4],
50  double bg_level,
51  double lower_cutlevel,
52  double *out_xy_centre,
53  double *out_weight,
54  cpl_size *out_nused);
55 
56 
57 /*----------------------------------------------------------------------------*/
58 
59 #ifdef __cplusplus
60 } /* extern "C" */
61 #endif
62 
63 #endif /* CLIPM_IMAGE_SIGNAL_H */
cpl_error_code clipm_image_signal_get_barycentre(const cpl_image *img, const cpl_size window_xxyy[4], double bg_level, double lower_cutlevel, double *out_xy_centre, double *out_weight, cpl_size *out_nused)
Compute the barycentre of an object.
Definition: clipm_image_signal.c:474
double clipm_image_signal_estimate_fwhm_round(const cpl_image *img, double x_peakpos, double y_peakpos, double bg_level)
Estimate the FWHM of a round object.
Definition: clipm_image_signal.c:284
double clipm_image_signal_estimate_bg_in_region(const cpl_image *img, const cpl_size window_xxyy[4], double *out_sigma, cpl_size *out_nused)
Estimate the background in a small image region.
Definition: clipm_image_signal.c:110