ifw-odp 5.0.0
Loading...
Searching...
No Matches
Macros | Functions
clipm_centroiding.c File Reference
#include <math.h>
#include <string.h>
#include "ifw/odp/clipm/clipm_centroiding.h"
#include "ifw/odp/clipm/clipm_math.h"
#include "ifw/odp/clipm/clipm_image_signal.h"
#include "ifw/odp/clipm/clipm_priv_image.h"
#include "ifw/odp/clipm/clipm_priv_image_signal.h"
#include "ifw/odp/clipm/clipm_compatibility_replacements.h"
#include "ifw/odp/clipm/clipm_priv_array.h"
#include "ifw/odp/clipm/clipm_priv_error.h"
#include "ifw/odp/clipm/clipm_priv_checks.h"
#include "ifw/odp/clipm/clipm_priv_math.h"
#include "ifw/odp/clipm/clipm_priv_matrix.h"
#include "ifw/odp/clipm/clipm_priv_optimize.h"
#include "ifw/odp/clipm/clipm_priv_vector.h"

Macros

#define _POSIX_C_SOURCE   200112L
 
#define CLIPM_CENTROIDING_MIN_WINDOWSIZE   5
 

Functions

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 image and fitting a gaussian.
 
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.
 
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.
 

Macro Definition Documentation

◆ CLIPM_CENTROIDING_MIN_WINDOWSIZE

#define CLIPM_CENTROIDING_MIN_WINDOWSIZE   5