CR2RE Pipeline Reference Manual 1.6.2
hdrl_overscan_defs.h
1/*
2 * This file is part of the HDRL
3 * Copyright (C) 2013 European Southern Observatory
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#ifndef HDRL_OVERSCAN_DEFS_H
21#define HDRL_OVERSCAN_DEFS_H
22
23#ifndef HDRL_USE_PRIVATE
24#error This file is not allowed to be included outside of hdrl
25#endif
26
27#include "hdrl_types.h"
28#include "hdrl_image.h"
29#include <cpl.h>
30
31CPL_BEGIN_DECLS
32
35/*----------------------------------------------------------------------------*/
40/*----------------------------------------------------------------------------*/
41struct _hdrl_overscan_compute_result_
42{
44 hdrl_direction correction_direction;
46 hdrl_image * correction;
48 cpl_image * contribution;
50 cpl_image * chi2;
52 cpl_image * red_chi2;
55 cpl_image * sigclip_reject_low;
58 cpl_image * sigclip_reject_high;
59};
60
61/*----------------------------------------------------------------------------*/
66/*----------------------------------------------------------------------------*/
67struct _hdrl_overscan_correct_result_
68{
70 hdrl_image * corrected;
72 cpl_image * badmask;
73};
74
77CPL_END_DECLS
78
79#endif