ifw-odp 5.0.0
Loading...
Searching...
No Matches
clipm_priv_array.h
Go to the documentation of this file.
1
2/*********************************************************************
3 * E.S.O. - VLT project
4 *
5 * "@(#) $Id: clipm_priv_array.h 262681 2014-12-08 13:29:56Z cgarcia $"
6 *
7 * PRIVATE functions for array handling
8 *
9 * who when what
10 * -------- ---------- ----------------------------------------------
11 * hlorch 2007-04-27 created
12 */
13
14#ifndef CLIPM_PRIV_ARRAY_H
15#define CLIPM_PRIV_ARRAY_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
36 const cpl_image *image,
37 cpl_size row_ndx);
38
40 const cpl_image *image,
41 cpl_size col_ndx);
42
44 const cpl_array *input,
45 double centre,
46 double bg_level,
47 cpl_size *out_maxindex,
48 double *out_middlepos,
49 double *out_edgeslope);
50
51void clipm_priv_array_null( cpl_array **a);
52
53/*----------------------------------------------------------------------------*/
54
55#ifdef __cplusplus
56} /* extern "C" */
57#endif
58
59#endif /* CLIPM_PRIV_ARRAY_H */
cpl_array * clipm_priv_array_new_from_image_col(const cpl_image *image, cpl_size col_ndx)
Extract an image column and store it in an array.
Definition clipm_priv_array.c:277
double clipm_priv_array_estimate_fwhm(const cpl_array *input, double centre, double bg_level, cpl_size *out_maxindex, double *out_middlepos, double *out_edgeslope)
Search maximum from given centre position and find FWHM.
Definition clipm_priv_array.c:413
void clipm_priv_array_null(cpl_array **a)
Delete a CPL array object and set the pointer to NULL.
Definition clipm_priv_array.c:630
cpl_array * clipm_priv_array_new_from_image_row(const cpl_image *image, cpl_size row_ndx)
Extract an image row and store it in an array.
Definition clipm_priv_array.c:183