29#include "hdrl_image.h"
30#include "hdrl_imagelist.h"
39 HDRL_BPM_2D_LEGENDRESMOOTH,
40 HDRL_BPM_2D_FILTERSMOOTH
51 int,
int,
int,
int,
int,
int,
int) ;
53 int, cpl_filter_mode, cpl_border_mode,
int,
int) ;
75 const char * base_context,
77 const char * method_def,
78 const hdrl_parameter * filtersmooth_def,
79 const hdrl_parameter * legendresmooth_def);
88 const hdrl_image * img_in,
89 const hdrl_parameter * params) ;
95#ifdef HDRL_USE_PRIVATE
cpl_mask * hdrl_bpm_2d_compute(const hdrl_image *img_in, const hdrl_parameter *params)
Detect bad pixels on a single image with an iterative process.
hdrl_bpm_2d_method hdrl_bpm_2d_parameter_get_method(const hdrl_parameter *)
Access the method in the BPM_2D parameter.
double hdrl_bpm_2d_parameter_get_kappa_high(const hdrl_parameter *)
Access the kappa_high in the BPM_2D parameter.
int hdrl_bpm_2d_parameter_get_maxiter(const hdrl_parameter *)
Access the maxiter in the BPM_2D parameter.
cpl_border_mode hdrl_bpm_2d_parameter_get_border(const hdrl_parameter *)
Access the border in the BPM_2D parameter.
int hdrl_bpm_2d_parameter_get_filter_size_y(const hdrl_parameter *)
Access the filter_size_y in the BPM_2D parameter.
int hdrl_bpm_2d_parameter_get_smooth_y(const hdrl_parameter *)
Access the smooth_y in the BPM_2D parameter.
int hdrl_bpm_2d_parameter_get_order_y(const hdrl_parameter *)
Access the order_y in the BPM_2D parameter.
hdrl_parameter * hdrl_bpm_2d_parameter_parse_parlist(const cpl_parameterlist *, const char *)
Parse parameter list to create input parameters for the BPM_2D.
int hdrl_bpm_2d_parameter_get_filter_size_x(const hdrl_parameter *)
Access the filter_size_x in the BPM_2D parameter.
hdrl_parameter * hdrl_bpm_2d_parameter_create_filtersmooth(double, double, int, cpl_filter_mode, cpl_border_mode, int, int)
Creates BPM_2D Parameters object for HDRL_BPM_2D_FILTERSMOOTH.
int hdrl_bpm_2d_parameter_get_smooth_x(const hdrl_parameter *)
Access the smooth_x in the BPM_2D parameter.
int hdrl_bpm_2d_parameter_get_steps_x(const hdrl_parameter *)
Access the steps_x in the BPM_2D parameter.
cpl_filter_mode hdrl_bpm_2d_parameter_get_filter(const hdrl_parameter *)
Access the filter in the BPM_2D parameter.
cpl_error_code hdrl_bpm_2d_parameter_verify(const hdrl_parameter *)
Verify basic correctness of the BPM_2D parameters.
cpl_parameterlist * hdrl_bpm_2d_parameter_create_parlist(const char *base_context, const char *prefix, const char *method_def, const hdrl_parameter *filtersmooth_def, const hdrl_parameter *legendresmooth_def)
Create parameter list for the BPM_2D computation.
int hdrl_bpm_2d_parameter_get_order_x(const hdrl_parameter *)
Access the order_x in the BPM_2D parameter.
int hdrl_bpm_2d_parameter_get_steps_y(const hdrl_parameter *)
Access the steps_y in the BPM_2D parameter.
hdrl_parameter * hdrl_bpm_2d_parameter_create_legendresmooth(double, double, int, int, int, int, int, int, int)
Creates BPM_2D Parameters object for HDRL_BPM_2D_LEGENDRESMOOTH.
cpl_boolean hdrl_bpm_2d_parameter_check(const hdrl_parameter *)
Check that the parameter is a BPM_2D parameter.
double hdrl_bpm_2d_parameter_get_kappa_low(const hdrl_parameter *)
Access the kappa_low in the BPM_2D parameter.