ifw-odp 5.0.0
Loading...
Searching...
No Matches
clipm_centroiding.h
Go to the documentation of this file.
1
2/*********************************************************************
3 * E.S.O. - VLT project
4 *
5 * "@(#) $Id: clipm_centroiding.h 262701 2014-12-08 19:16:38Z cgarcia $"
6 *
7 * Functions for centroiding inside image windows
8 *
9 * who when what
10 * -------- ---------- ----------------------------------------------
11 * hlorch 2006-08-18 created
12 */
13
14#ifndef CLIPM_CENTROIDING_H
15#define CLIPM_CENTROIDING_H
16
17/*-----------------------------------------------------------------------------
18 Includes
19 -----------------------------------------------------------------------------*/
20
21#include <cpl.h>
22
23/*-----------------------------------------------------------------------------
24 Declaration Block
25 -----------------------------------------------------------------------------*/
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31/*-----------------------------------------------------------------------------
32 Prototypes
33 -----------------------------------------------------------------------------*/
34
35cpl_error_code clipm_centroiding_gauss( const cpl_image *image,
36 const cpl_size window_xxyy[4],
37 double *xy_centre,
38 double *xy_centre_err,
39 double *xy_sigma,
40 double *xy_sigma_err,
41 double *xy_fwhm,
42 double *xy_fwhm_err,
43 double *centre_intensity,
44 int robustness);
45
46cpl_error_code clipm_centroiding_moment( const cpl_image *image,
47 const cpl_size window_xxyy[4],
48 int allow_wdw_enlarge,
49 double gain,
50 double *out_xy_centre,
51 double *out_xy_centre_err,
52 double *out_xy_sigma,
53 double *out_xy_fwhm,
54 double *centre_intensity);
55
57 const cpl_image *image,
58 const cpl_matrix *locations,
59 cpl_size areasize,
60 cpl_matrix **xy_centre,
61 cpl_matrix **xy_centre_err,
62 cpl_matrix **xy_sigma,
63 cpl_matrix **xy_sigma_err,
64 cpl_matrix **xy_fwhm,
65 cpl_matrix **xy_fwhm_err,
66 cpl_matrix **centre_intensities,
67 cpl_array **all_error_codes,
68 int robustness);
69
70/*----------------------------------------------------------------------------*/
71
72#ifdef __cplusplus
73} /* extern "C" */
74#endif
75
76#endif /* CLIPM_CENTROIDING_H */
cpl_error_code clipm_centroiding_moment(const cpl_image *image, const cpl_size window_xxyy[4], int allow_wdw_enlarge, double gain, double *out_xy_centre, double *out_xy_centre_err, double *out_xy_sigma, double *out_xy_fwhm, double *centre_intensity)
Determine the barycenter of an object in an image window.
Definition clipm_centroiding.c:887
cpl_error_code clipm_centroiding_gauss(const cpl_image *image, const cpl_size window_xxyy[4], double *xy_centre, double *xy_centre_err, double *xy_sigma, double *xy_sigma_err, double *xy_fwhm, double *xy_fwhm_err, double *centre_intensity, int robustness)
Determine the position of an object in an image window, for x and y separately, by collapsing the ima...
Definition clipm_centroiding.c:524
cpl_error_code clipm_centroiding_multi_gauss(const cpl_image *image, const cpl_matrix *locations, cpl_size areasize, cpl_matrix **xy_centre, cpl_matrix **xy_centre_err, cpl_matrix **xy_sigma, cpl_matrix **xy_sigma_err, cpl_matrix **xy_fwhm, cpl_matrix **xy_fwhm_err, cpl_matrix **centre_intensities, cpl_array **all_error_codes, int robustness)
Invoke clipm_centroiding_gauss() at several locations in an image.
Definition clipm_centroiding.c:1261