ERIS Pipeline Reference Manual 1.8.15
eris_ifu_dark_static.h
1/* $Id$
2 *
3 * This file is part of the ERIS Pipeline
4 * Copyright (C) 2002,2003 European Southern Observatory
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#ifndef ERISP_ERIS_ERIS_IFU_DARK_STATIC_H_
22#define ERISP_ERIS_ERIS_IFU_DARK_STATIC_H_
23
24#ifdef HAVE_CONFIG_H
25#include <config.h>
26#endif
27
28/*-----------------------------------------------------------------------------
29 Includes
30 -----------------------------------------------------------------------------*/
31
32#include <cpl.h>
33#include <hdrl.h>
34
35cpl_error_code eris_ifu_dark_static(const cpl_parameterlist *parlist,
36 hdrl_imagelist* darkImageList,
37 hdrl_parameter* pdarkcollapse,
38 hdrl_image **masterDarkHdrlImg,
39 cpl_image **qualityImage,
40 cpl_image **masterBpm,
41 cpl_image **contribMap,
42 cpl_mask **bpm2dMask,
43 cpl_mask **bpm3dMask,
44 cpl_propertylist *qcParams);
45
46cpl_image *eris_ifu_dark_noise(
47 hdrl_imagelist* imageList);
48
49cpl_error_code eris_ifu_dark_qc(const cpl_parameterlist *parlist,
50 hdrl_image *masterDarkHdrlImg,
51 hdrl_imagelist* darkImageList,
52 const cpl_mask *masterBpm,
53 const cpl_image *qualityImage,
54 cpl_propertylist *qcParams);
55
56cpl_image* eris_ifu_dark_get_dqi(
57 const cpl_mask* masterBpmMask,
58 const cpl_mask* bpm2dMask,
59 const cpl_mask* bpm3dMask);
60
61#endif /* ERISP_ERIS_ERIS_IFU_DARK_STATIC_H_ */
cpl_error_code eris_ifu_dark_static(const cpl_parameterlist *parlist, hdrl_imagelist *darkImageList, hdrl_parameter *pdarkcollapse, hdrl_image **masterDarkHdrlImg, cpl_image **qualityImage, cpl_image **masterBpm, cpl_image **contribMap, cpl_mask **bpm2dMask, cpl_mask **bpm3dMask, cpl_propertylist *qcParams)
Determine master dark and bad pixel maps.
cpl_error_code eris_ifu_dark_qc(const cpl_parameterlist *parlist, hdrl_image *masterDarkHdrlImg, hdrl_imagelist *darkImageList, const cpl_mask *masterBpm, const cpl_image *qualityImage, cpl_propertylist *qcParams)
Determine quality control parameters for master dark.
cpl_image * eris_ifu_dark_get_dqi(const cpl_mask *masterBpmMask, const cpl_mask *bpm2dMask, const cpl_mask *bpm3dMask)
Create a data quality indicator (DQI) image from bad pixel masks.
cpl_image * eris_ifu_dark_noise(hdrl_imagelist *imageList)
Determine dark noise image from standard deviation across frames.