CR2RE Pipeline Reference Manual 1.6.7
Functions
hdrl_overlp

Deblend overlapping images. More...

Functions

cpl_error_code hdrl_overlp (ap_t *ap, double parm[IMNUM][NPAR], cpl_size *nbit, double xbar, double ybar, double total, cpl_size npix, double tmax)
 Deblend overlapping images.
 
cpl_error_code hdrl_overlp_2orMore (ap_t *ap, double parm[IMNUM][NPAR], cpl_size *nbit, double xbar, double ybar, double total, cpl_size npix, double curthr_prev, double nexthr_prev, double lasthr_prev)
 Deblend overlapping images 2 or more. If you know that exist more than 1 (come to the previous version).
 

Detailed Description

Deblend overlapping images.

Function Documentation

◆ hdrl_overlp()

cpl_error_code hdrl_overlp ( ap_t *  ap,
double  parm[IMNUM][NPAR],
cpl_size *  nbit,
double  xbar,
double  ybar,
double  total,
cpl_size  npix,
double  tmax 
)

Deblend overlapping images.

Parameters
apThe current ap structure
parmThe parameter array for the deblended objects
nbitThe output number of objects found in the deblended object
xbarThe X position of the input object
ybarThe Y position of the input object
totalThe total flux of the input object
npixThe number of pixels in the original object
tmaxThe peak flux of the original object
Returns
CPL_ERROR_NONE if all went OK (Currently this is the only value).

Description: An array of pixels that are believed to be part of a single large object are analyzed with successively higher thresholds to see if they resolve into multiple objects.

Definition at line 88 of file hdrl_cat_overlp.c.

References hdrl_apclose(), hdrl_apclust(), hdrl_apinit(), hdrl_apreinit(), hdrl_overlp_2orMore(), and sort_array_f().

Referenced by hdrl_process_results().

◆ hdrl_overlp_2orMore()

cpl_error_code hdrl_overlp_2orMore ( ap_t *  ap,
double  parm[IMNUM][NPAR],
cpl_size *  nbit,
double  xbar,
double  ybar,
double  total,
cpl_size  npix,
double  curthr_prev,
double  nexthr_prev,
double  lasthr_prev 
)

Deblend overlapping images 2 or more. If you know that exist more than 1 (come to the previous version).

Parameters
apThe current ap structure
parmThe parameter array for the deblended objects
nbitThe output number of objects found in the deblended object
xbarThe X position of the input object
ybarThe Y position of the input object
totalThe total flux of the input object
npixThe number of pixels in the original object
curthr_prevThreshold
nexthr_prevThreshold
lasthr_prevThreshold
Returns
CPL_ERROR_NONE if all went OK (Currently this is the only value).

Description: An array of pixels that are believed to be part of a single large object are analyzed with successively higher thresholds to see if they resolve into multiple objects.

Definition at line 346 of file hdrl_cat_overlp.c.

References hdrl_polynm().

Referenced by hdrl_overlp().