20#ifndef HDRL_BPM_UTILS_H
21#define HDRL_BPM_UTILS_H
29#include "hdrl_image.h"
30#include "hdrl_imagelist.h"
38cpl_mask *
hdrl_bpm_filter(
const cpl_mask *, cpl_size, cpl_size, cpl_filter_mode) ;
46#ifdef HDRL_USE_PRIVATE
cpl_image * hdrl_mask_to_bpm(const cpl_mask *mask, uint64_t flag)
convert cpl_mask to bad pixel information mask
cpl_mask * hdrl_bpm_to_mask(const cpl_image *bpm, uint64_t selection)
convert bad pixel information mask to a cpl_mask
CPL_BEGIN_DECLS cpl_mask * hdrl_bpm_filter(const cpl_mask *, cpl_size, cpl_size, cpl_filter_mode)
Allows the growing and shrinking of bad pixel masks. It can be used to e.g. set pixels to bad if the ...
cpl_imagelist * hdrl_bpm_filter_list(const cpl_imagelist *, cpl_size, cpl_size, cpl_filter_mode)
Wrapper around hdrl_bpm_filter() to filter list of images.
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
cpl_error_code hdrl_set_masks_on_imagelist(cpl_imagelist *list, cpl_mask **masks)
apply array of masks to an image list