ifw-odp 5.1.1
 
Loading...
Searching...
No Matches
clipm_centroiding.h
Go to the documentation of this file.
1
5
6#ifndef CLIPM_CENTROIDING_H
7#define CLIPM_CENTROIDING_H
8
9/*-----------------------------------------------------------------------------
10 Includes
11 -----------------------------------------------------------------------------*/
12
13#include <cpl.h>
14
15/*-----------------------------------------------------------------------------
16 Declaration Block
17 -----------------------------------------------------------------------------*/
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/*-----------------------------------------------------------------------------
24 Prototypes
25 -----------------------------------------------------------------------------*/
26
27cpl_error_code clipm_centroiding_gauss( const cpl_image *image,
28 const cpl_size window_xxyy[4],
29 double *xy_centre,
30 double *xy_centre_err,
31 double *xy_sigma,
32 double *xy_sigma_err,
33 double *xy_fwhm,
34 double *xy_fwhm_err,
35 double *centre_intensity,
36 int robustness);
37
38cpl_error_code clipm_centroiding_moment( const cpl_image *image,
39 const cpl_size window_xxyy[4],
40 int allow_wdw_enlarge,
41 double gain,
42 double *out_xy_centre,
43 double *out_xy_centre_err,
44 double *out_xy_sigma,
45 double *out_xy_fwhm,
46 double *centre_intensity);
47
49 const cpl_image *image,
50 const cpl_matrix *locations,
51 cpl_size areasize,
52 cpl_matrix **xy_centre,
53 cpl_matrix **xy_centre_err,
54 cpl_matrix **xy_sigma,
55 cpl_matrix **xy_sigma_err,
56 cpl_matrix **xy_fwhm,
57 cpl_matrix **xy_fwhm_err,
58 cpl_matrix **centre_intensities,
59 cpl_array **all_error_codes,
60 int robustness);
61
62/*----------------------------------------------------------------------------*/
63
64#ifdef __cplusplus
65} /* extern "C" */
66#endif
67
68#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:882
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:519
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:1256