IIINSTRUMENT Pipeline Reference Manual 1.3.14
detmon_utils.h
1/* $Id: detmon_utils.h,v 1.5 2013-07-05 12:51:21 jtaylor Exp $
2 *
3 * This file is part of the IIINSTRUMENT 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 02111-1307 USA
19 */
20
21/*
22 * $Author: jtaylor $
23 * $Date: 2013-07-05 12:51:21 $
24 * $Revision: 1.5 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef DETMON_UTILS_H
29#define DETMON_UTILS_H
30
31/*-----------------------------------------------------------------------------
32 Includes
33 -----------------------------------------------------------------------------*/
34
35#include <cpl.h>
36
37/*-----------------------------------------------------------------------------
38 Prototypes
39 -----------------------------------------------------------------------------*/
40
41const char * detmon_get_license(void);
42
43cpl_imagelist *
44detmon_load_frameset_window(const cpl_frameset * fset, cpl_type type,
45 cpl_size pnum, cpl_size xtnum,
46 cpl_size llx, cpl_size lly,
47 cpl_size urx, cpl_size ury,
48 cpl_size nx, cpl_size ny);
49
50cpl_image * detmon_subtract_create_window(const cpl_image * a,
51 const cpl_image * b,
52 cpl_size llx,
53 cpl_size lly,
54 cpl_size urx,
55 cpl_size ury);
56
57cpl_image * detmon_subtracted_avg(const cpl_image * on1,
58 const cpl_image * off1,
59 const cpl_image * on2,
60 const cpl_image * off2,
61 cpl_size llx, cpl_size lly,
62 cpl_size urx, cpl_size ury);
63
64#endif