High-Level Data Reduction Library 1.6.0
High-Level data reduction routines for ESO pipelines
Loading...
Searching...
No Matches
hdrl_bpm_2d.c File Reference
#include "hdrl_types.h"
#include "hdrl_image.h"
#include "hdrl_imagelist.h"
#include "hdrl_utils.h"
#include "hdrl_bpm_2d.h"
#include "hdrl_prototyping.h"
#include <cpl.h>
#include <string.h>
#include <math.h>
Include dependency graph for hdrl_bpm_2d.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

hdrl_parameterhdrl_bpm_2d_parameter_create_filtersmooth (double kappa_low, double kappa_high, int maxiter, cpl_filter_mode filter, cpl_border_mode border, int smooth_x, int smooth_y)
 Creates BPM_2D Parameters object for HDRL_BPM_2D_FILTERSMOOTH.
 
hdrl_parameterhdrl_bpm_2d_parameter_create_legendresmooth (double kappa_low, double kappa_high, int maxiter, int steps_x, int steps_y, int filter_size_x, int filter_size_y, int order_x, int order_y)
 Creates BPM_2D Parameters object for HDRL_BPM_2D_LEGENDRESMOOTH.
 
cpl_error_code hdrl_bpm_2d_parameter_verify (const hdrl_parameter *param)
 Verify basic correctness of the BPM_2D parameters.
 
cpl_boolean hdrl_bpm_2d_parameter_check (const hdrl_parameter *self)
 Check that the parameter is a BPM_2D parameter.
 
cpl_filter_mode hdrl_bpm_2d_parameter_get_filter (const hdrl_parameter *p)
 Access the filter in the BPM_2D parameter.
 
cpl_border_mode hdrl_bpm_2d_parameter_get_border (const hdrl_parameter *p)
 Access the border in the BPM_2D parameter.
 
double hdrl_bpm_2d_parameter_get_kappa_low (const hdrl_parameter *p)
 Access the kappa_low in the BPM_2D parameter.
 
double hdrl_bpm_2d_parameter_get_kappa_high (const hdrl_parameter *p)
 Access the kappa_high in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_maxiter (const hdrl_parameter *p)
 Access the maxiter in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_steps_x (const hdrl_parameter *p)
 Access the steps_x in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_steps_y (const hdrl_parameter *p)
 Access the steps_y in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_filter_size_x (const hdrl_parameter *p)
 Access the filter_size_x in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_filter_size_y (const hdrl_parameter *p)
 Access the filter_size_y in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_order_x (const hdrl_parameter *p)
 Access the order_x in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_order_y (const hdrl_parameter *p)
 Access the order_y in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_smooth_y (const hdrl_parameter *p)
 Access the smooth_y in the BPM_2D parameter.
 
int hdrl_bpm_2d_parameter_get_smooth_x (const hdrl_parameter *p)
 Access the smooth_x in the BPM_2D parameter.
 
hdrl_bpm_2d_method hdrl_bpm_2d_parameter_get_method (const hdrl_parameter *p)
 Access the method in the BPM_2D parameter.
 
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.
 
hdrl_parameterhdrl_bpm_2d_parameter_parse_parlist (const cpl_parameterlist *parlist, const char *prefix)
 Parse parameter list to create input parameters for the BPM_2D.
 
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.