20#ifndef CR2RES_DETLIN_H
21#define CR2RES_DETLIN_H
34#define CR2RES_DETLIN_THRESHOLD 4000.0
35#define CR2RES_DETLIN_MAXFIT 37000.0
43 const hdrl_imagelist * detlin);
46 const cpl_vector * dits,
47 const cpl_vector * values,
49 cpl_polynomial ** fitted,
50 cpl_vector ** error) ;
53 const cpl_frameset * in) ;
cpl_frameset * cr2res_detlin_sort_frames(const cpl_frameset *in)
Sort the frames by increasing DIT.
int cr2res_detlin_compute(const cpl_vector *dits, const cpl_vector *values, cpl_size max_degree, cpl_polynomial **fitted, cpl_vector **error)
Fits the response of a given pixel to the illumination increase.
int cr2res_detlin_correct(hdrl_image *in, const hdrl_imagelist *detlin)
Apply the detector linearity correction.