CR2RE Pipeline Reference Manual 1.6.8
Functions
hdrl_terminate

Check for objects that have terminated. More...

Functions

void hdrl_terminate (ap_t *ap, double gain, cpl_size *nobjects, cpl_table *tab, hdrl_casu_result *res)
 Check for objects that have terminated.
 
void hdrl_restack (ap_t *ap, cpl_size ip)
 Free information for an object from the ap structure.
 
void hdrl_apfu (ap_t *ap)
 Get rid of the largest contributor in an ap structure.
 
void hdrl_extract_data (ap_t *ap, cpl_size ip)
 Put data into the Plessey array for an object.
 

Detailed Description

Check for objects that have terminated.

Function Documentation

◆ hdrl_apfu()

void hdrl_apfu ( ap_t *  ap)

Get rid of the largest contributor in an ap structure.

Parameters
apThe current ap structure

Description: The parents in the current ap structure are examined to see which has the largest number of pixels. That parent is junked.

Definition at line 141 of file hdrl_cat_terminate.c.

References hdrl_restack().

Referenced by hdrl_apclust(), and hdrl_catalogue_conf().

◆ hdrl_extract_data()

void hdrl_extract_data ( ap_t *  ap,
cpl_size  ip 
)

Put data into the Plessey array for an object.

Parameters
apThe current ap structure
ipThe parent in question

Description: The information for the object from a given parent is extracted from the link list in the ap structure and put into the Plessey array in preparation for analysis.

Definition at line 183 of file hdrl_cat_terminate.c.

Referenced by hdrl_terminate().

◆ hdrl_restack()

void hdrl_restack ( ap_t *  ap,
cpl_size  ip 
)

Free information for an object from the ap structure.

Parameters
apThe current ap structure
ipThe parent number for the object

Description: The starting address for an object in the ap structure is given. Information relating to that object is erased and the space made available

Definition at line 97 of file hdrl_cat_terminate.c.

Referenced by hdrl_apfu(), and hdrl_terminate().

◆ hdrl_terminate()

void hdrl_terminate ( ap_t *  ap,
double  gain,
cpl_size *  nobjects,
cpl_table *  tab,
hdrl_casu_result *  res 
)

Check for objects that have terminated.

Parameters
apThe current ap structure
gainThe header keyword with the gain in e-/ADU
nobjectsNumber of detected objects
tabOutput catalogue table
res

Description: The parents in the current ap structure are examined to see which have not grown since the last pass. Any that have not grown are sent to the processing routine.

Definition at line 53 of file hdrl_cat_terminate.c.

References hdrl_extract_data(), hdrl_process_results(), and hdrl_restack().

Referenced by hdrl_catalogue_conf().