ifw-odp  2.0.0-alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
clipm_centroiding.c File Reference
#include <math.h>
#include <string.h>
#include "clipm_centroiding.h"
#include "clipm_math.h"
#include "clipm_image_signal.h"
#include "clipm_priv_image.h"
#include "clipm_priv_image_signal.h"
#include "clipm_compatibility_replacements.h"
#include "clipm_priv_array.h"
#include "clipm_priv_error.h"
#include "clipm_priv_checks.h"
#include "clipm_priv_math.h"
#include "clipm_priv_matrix.h"
#include "clipm_priv_optimize.h"
#include "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. More...
 
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. More...
 
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. More...
 

Macro Definition Documentation

#define CLIPM_CENTROIDING_MIN_WINDOWSIZE   5