20#ifndef HDRL_OVERSCAN_H
21#define HDRL_OVERSCAN_H
38#define HDRL_OVERSCAN_FULL_BOX -1
68 const cpl_parameterlist *,
const char *) ;
74 const cpl_image * source,
hdrl_direction
Define an image direction e.g along X or Y.
Definition hdrl_utils.h:55
struct _hdrl_parameter_ hdrl_parameter
Definition hdrl_parameter.h:27
struct _hdrl_overscan_correct_result_ hdrl_overscan_correct_result
Definition hdrl_overscan.h:40
struct _hdrl_overscan_compute_result_ hdrl_overscan_compute_result
Definition hdrl_overscan.h:39
void hdrl_overscan_compute_result_delete(hdrl_overscan_compute_result *)
Deletes the Overscan Computation Result Structure.
Definition hdrl_overscan.c:1222
cpl_image * hdrl_overscan_correct_result_get_badmask(const hdrl_overscan_correct_result *)
Access the bad pixels mask in the Overscan Correction result object.
Definition hdrl_overscan.c:1485
cpl_image * hdrl_overscan_compute_result_unset_red_chi2(hdrl_overscan_compute_result *)
Unset the reduced CHI2 in the Overscan Computation result object.
Definition hdrl_overscan.c:1074
cpl_image * hdrl_overscan_correct_result_unset_badmask(hdrl_overscan_correct_result *)
Unset the bad pixels mask in the Overscan Correction result object.
Definition hdrl_overscan.c:1499
cpl_image * hdrl_overscan_compute_result_get_minmax_reject_high(const hdrl_overscan_compute_result *)
Access the high threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1195
cpl_boolean hdrl_overscan_parameter_check(const hdrl_parameter *)
Check that the parameter is an Overscan parameter.
Definition hdrl_overscan.c:269
hdrl_image * hdrl_overscan_correct_result_unset_corrected(hdrl_overscan_correct_result *)
Unset the corrected image in the Overscan Correction result object.
Definition hdrl_overscan.c:1469
cpl_image * hdrl_overscan_compute_result_get_red_chi2(const hdrl_overscan_compute_result *)
Access the reduced CHI2 in the Overscan Computation result object.
Definition hdrl_overscan.c:1060
cpl_image * hdrl_overscan_compute_result_get_sigclip_reject_low(const hdrl_overscan_compute_result *)
Access the low threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1090
cpl_image * hdrl_overscan_compute_result_get_chi2(const hdrl_overscan_compute_result *)
Access the CHI2 in the Overscan Computation result object.
Definition hdrl_overscan.c:1030
hdrl_overscan_compute_result * hdrl_overscan_compute(const cpl_image *source, const hdrl_parameter *params)
Overscan correction computation.
Definition hdrl_overscan.c:686
cpl_image * hdrl_overscan_compute_result_unset_chi2(hdrl_overscan_compute_result *)
Unset the CHI2 in the Overscan Computation result object.
Definition hdrl_overscan.c:1044
cpl_image * hdrl_overscan_compute_result_unset_minmax_reject_high(hdrl_overscan_compute_result *)
Unset the high threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1208
cpl_image * hdrl_overscan_compute_result_unset_contribution(hdrl_overscan_compute_result *)
Unset the contribution in the Overscan Computation result object.
Definition hdrl_overscan.c:1014
cpl_image * hdrl_overscan_compute_result_get_minmax_reject_low(const hdrl_overscan_compute_result *)
Access the low threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1169
hdrl_image * hdrl_overscan_compute_result_unset_correction(hdrl_overscan_compute_result *)
Unset the correction in the Overscan Computation result object.
Definition hdrl_overscan.c:984
hdrl_image * hdrl_overscan_correct_result_get_corrected(const hdrl_overscan_correct_result *)
Access the corrected image in the Overscan Correction result object.
Definition hdrl_overscan.c:1455
hdrl_parameter * hdrl_overscan_parameter_get_rect_region(const hdrl_parameter *)
Access the Overscan Region parameters in the Overscan Parameter.
Definition hdrl_overscan.c:333
hdrl_parameter * hdrl_overscan_parameter_get_collapse(const hdrl_parameter *)
Access the collapse method parameters in the Overscan Parameter.
Definition hdrl_overscan.c:320
hdrl_parameter * hdrl_overscan_parameter_create(hdrl_direction, double, int, hdrl_parameter *, hdrl_parameter *)
Creates Overscan Parameters object.
Definition hdrl_overscan.c:150
hdrl_image * hdrl_overscan_compute_result_get_correction(const hdrl_overscan_compute_result *)
Access the correction in the Overscan Computation result object.
Definition hdrl_overscan.c:970
double hdrl_overscan_parameter_get_ccd_ron(const hdrl_parameter *)
Access the CCD read out noise in the Overscan Parameter.
Definition hdrl_overscan.c:294
hdrl_direction hdrl_overscan_parameter_get_correction_direction(const hdrl_parameter *)
Access the Correction Direction in the Overscan Parameter.
Definition hdrl_overscan.c:281
hdrl_overscan_correct_result * hdrl_overscan_correct(const hdrl_image *source, const hdrl_parameter *region, const hdrl_overscan_compute_result *os_computation)
Overscan correction.
Definition hdrl_overscan.c:1286
hdrl_parameter * hdrl_overscan_parameter_parse_parlist(const cpl_parameterlist *, const char *)
Parse parameterlist to create input parameters for the Overscan method.
Definition hdrl_overscan.c:473
cpl_image * hdrl_overscan_compute_result_get_contribution(const hdrl_overscan_compute_result *)
Access the contribution in the Overscan Computation result object.
Definition hdrl_overscan.c:1000
int hdrl_overscan_parameter_get_box_hsize(const hdrl_parameter *)
Access the Box Half Size in the Overscan Parameter.
Definition hdrl_overscan.c:307
cpl_image * hdrl_overscan_compute_result_unset_minmax_reject_low(hdrl_overscan_compute_result *)
Unset the low threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1182
cpl_image * hdrl_overscan_compute_result_get_sigclip_reject_high(const hdrl_overscan_compute_result *)
Access the high threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1132
void hdrl_overscan_correct_result_delete(hdrl_overscan_correct_result *)
Delete the Overscan Correction Result Structure.
Definition hdrl_overscan.c:1438
cpl_image * hdrl_overscan_compute_result_unset_sigclip_reject_low(hdrl_overscan_compute_result *)
Unset the low threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1110
cpl_image * hdrl_overscan_compute_result_unset_sigclip_reject_high(hdrl_overscan_compute_result *)
Unset the high threshold in the Overscan Computation result object.
Definition hdrl_overscan.c:1152
cpl_parameterlist * hdrl_overscan_parameter_create_parlist(const char *, const char *, const char *, int, double, hdrl_parameter *, const char *, hdrl_parameter *, hdrl_parameter *, hdrl_parameter *)
Create parameter list for the Overscan computation.
Definition hdrl_overscan.c:367
cpl_error_code hdrl_overscan_parameter_verify(const hdrl_parameter *, cpl_size, cpl_size)
Verify basic correctness of the Overscan parameters.
Definition hdrl_overscan.c:176
Definition hdrl_image_defs.h:40