High-Level Data Reduction Library 1.6.0a5
High-Level data reduction routines for ESO pipelines
Loading...
Searching...
No Matches
hdrl_bpm_utils.c File Reference
#include "hdrl_types.h"
#include "hdrl_image.h"
#include "hdrl_imagelist.h"
#include "hdrl_utils.h"
#include "hdrl_bpm_utils.h"
#include "hdrl_prototyping.h"
#include <cpl.h>
#include <string.h>
#include <math.h>
Include dependency graph for hdrl_bpm_utils.c:

Functions

cpl_imagelist * hdrl_bpm_filter_list (const cpl_imagelist *inlist, cpl_size kernel_nx, cpl_size kernel_ny, cpl_filter_mode filter)
 Wrapper around hdrl_bpm_filter() to filter list of images.
 
cpl_mask * hdrl_bpm_filter (const cpl_mask *input_mask, cpl_size kernel_nx, cpl_size kernel_ny, cpl_filter_mode filter)
 Allows the growing and shrinking of bad pixel masks. It can be used to e.g. set pixels to bad if the pixel is surrounded by other bad pixels.
 
cpl_mask * hdrl_bpm_to_mask (const cpl_image *bpm, uint64_t selection)
 convert bad pixel information mask to a cpl_mask
 
cpl_image * hdrl_mask_to_bpm (const cpl_mask *mask, uint64_t flag)
 convert cpl_mask to bad pixel information mask
 
cpl_error_code hdrl_set_masks_on_imagelist (cpl_imagelist *list, cpl_mask **masks)
 apply array of masks to an image list
 
cpl_error_code hdrl_join_mask_on_imagelist (cpl_imagelist *list, cpl_mask *new_mask, cpl_mask ***pold_mask)
 join mask with existing masks in an imagelist