High-Level Data Reduction Library: hdrl_imagelist_basic.c File Reference

High-Level Data Reduction Library 1.6.0 High-Level data reduction routines for ESO pipelines

Loading...
Searching...
No Matches
Data Structures | Typedefs | Enumerations | Functions
hdrl_imagelist_basic.c File Reference
`#include "hdrl_imagelist.h"`
`#include "hdrl_imagelist_view.h"`
`#include "hdrl_imagelist_defs.h"`
`#include "hdrl_image.h"`
`#include "hdrl_collapse.h"`
`#include <cpl.h>`
`#include <assert.h>`
Include dependency graph for hdrl_imagelist_basic.c:

## Data Structures
union | hdrl_func_ptr

## Typedefs
typedef cpl_error_code(* | hdrl_f_image) (hdrl_image *, const hdrl_image *)
typedef cpl_error_code(* | hdrl_f_scalar) (hdrl_image *, hdrl_value)

## Enumerations
enum | hdrl_imagelist_basic_type { HDRL_IMLIST_BASIC_IMLIST = 0 , HDRL_IMLIST_BASIC_IMAGE , HDRL_IMLIST_BASIC_SCALAR }
| Define the kind of operation to apply. More...

## Functions
cpl_error_code | hdrl_imagelist_add_imagelist (hdrl_imagelist *himlist1, const hdrl_imagelist *himlist2)
| Add two image lists, the first one is replaced by the result.
cpl_error_code | hdrl_imagelist_sub_imagelist (hdrl_imagelist *himlist1, const hdrl_imagelist *himlist2)
| Subtract two image lists, the first one is replaced by the result.
cpl_error_code | hdrl_imagelist_mul_imagelist (hdrl_imagelist *himlist1, const hdrl_imagelist *himlist2)
| Multiply two image lists, the first one is replaced by the result.
cpl_error_code | hdrl_imagelist_div_imagelist (hdrl_imagelist *himlist1, const hdrl_imagelist *himlist2)
| Divide two image lists, the first one is replaced by the result.
cpl_error_code | hdrl_imagelist_add_image (hdrl_imagelist *himlist, const hdrl_image *himg)
| Add an image to an image list.
cpl_error_code | hdrl_imagelist_sub_image (hdrl_imagelist *himlist, const hdrl_image *himg)
| Subtract an image from an image list.
cpl_error_code | hdrl_imagelist_mul_image (hdrl_imagelist *himlist, const hdrl_image *himg)
| Multiply an image by an image list.
cpl_error_code | hdrl_imagelist_div_image (hdrl_imagelist *himlist, const hdrl_image *himg)
| Divide an image from an image list.
cpl_error_code | hdrl_imagelist_add_scalar (hdrl_imagelist *himlist, hdrl_value value)
| Elementwise addition of a scalar to each image in the himlist.
cpl_error_code | hdrl_imagelist_sub_scalar (hdrl_imagelist *himlist, hdrl_value value)
| Elementwise subtraction of a scalar to each image in the himlist.
cpl_error_code | hdrl_imagelist_mul_scalar (hdrl_imagelist *himlist, hdrl_value value)
| Elementwise multiplication of a scalar to each image in the himlist.
cpl_error_code | hdrl_imagelist_div_scalar (hdrl_imagelist *himlist, hdrl_value value)
| Elementwise division by a scalar to each image in the himlist.
cpl_error_code | hdrl_imagelist_pow_scalar (hdrl_imagelist *himlist, hdrl_value exponent)
| Compute the elementwise power of each image in the himlist.
cpl_error_code | hdrl_imagelist_collapse (const hdrl_imagelist *himlist, const hdrl_parameter *param, hdrl_image **out, cpl_image **contrib)
| collapsing of image list
cpl_error_code | hdrl_imagelist_collapse_mean (const hdrl_imagelist *himlist, hdrl_image **out, cpl_image **contrib)
| Mean collapsing of image list.
cpl_error_code | hdrl_imagelist_collapse_weighted_mean (const hdrl_imagelist *himlist, hdrl_image **out, cpl_image **contrib)
| Weighted Mean collapsing of image list.
cpl_error_code | hdrl_imagelist_collapse_median (const hdrl_imagelist *himlist, hdrl_image **out, cpl_image **contrib)
| Median collapsing of image list.
cpl_error_code | hdrl_imagelist_collapse_sigclip (const hdrl_imagelist *himlist, double kappa_low, double kappa_high, int niter, hdrl_image **out, cpl_image **contrib, cpl_image **reject_low, cpl_image **reject_high)
| Sigma-clipped collapsing of image list.
cpl_error_code | hdrl_imagelist_collapse_minmax (const hdrl_imagelist *himlist, double nlow, double nhigh, hdrl_image **out, cpl_image **contrib, cpl_image **reject_low, cpl_image **reject_high)
| Minmax-clipped collapsing of image list.
cpl_error_code | hdrl_imagelist_collapse_mode (const hdrl_imagelist *himlist, double histo_min, double histo_max, double bin_size, hdrl_mode_type mode_method, cpl_size error_niter, hdrl_image **out, cpl_image **contrib)
| Mode collapsing of image list.