ifw-odp
2.0.0-alpha
|
#include "clipm_priv_array.h"
#include "clipm_math.h"
#include "clipm_compatibility_replacements.h"
#include "clipm_priv_checks.h"
#include "clipm_priv_error.h"
#include "clipm_priv_image.h"
#include <string.h>
Functions | |
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. More... | |
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. More... | |
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. More... | |
void | clipm_priv_array_null (cpl_array **a) |
Delete a CPL array object and set the pointer to NULL. More... | |
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.
input | Input vector |
centre | Centre position |
bg_level | Background level |
out_maxindex | (Optional output) index of found maximum value, can be NULL |
out_middlepos | (Optional output) middle position between left and right FWHM edges, can be NULL |
out_edgeslope | (Optional output) steepness of the edges, returns -1.0 if unsuccessful, can be NULL |
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.
image | Input image |
col_ndx | Column index (FITS convention) |
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.
image | Input image |
row_ndx | Row index (FITS convention) |
void clipm_priv_array_null | ( | cpl_array ** | a | ) |
Delete a CPL array object and set the pointer to NULL.
a | Pointer to array pointer |
The following code is executed: