CR2RE Pipeline Reference Manual 1.6.7
hdrl_fpn.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_FPN_H_
21#define HDRL_FPN_H_
22
23/*----------------------------------------------------------------------------*/
27/*----------------------------------------------------------------------------*/
28
29#include <cpl.h>
30
31#include "hdrl_image.h"
32
33CPL_BEGIN_DECLS
34
35/*----------------------------------------------------------------------------*/
39/*----------------------------------------------------------------------------*/
40
41/*----------------------------------------------------------------------------*/
45/*----------------------------------------------------------------------------*/
46
47/*----------------------------------------------------------------------------*/
51/*----------------------------------------------------------------------------*/
52
53/* Fix the pattern noise in a input 2D image */
54cpl_error_code hdrl_fpn_compute(
55 cpl_image *img_in,
56 const cpl_mask *mask_in,
57 const cpl_size dc_mask_x,
58 const cpl_size dc_mask_y,
59 cpl_image **power_spectrum,
60 double *std,
61 double *std_mad);
62
63CPL_END_DECLS
64
65
66#endif /* HDRL_FPN_H_ */
CPL_BEGIN_DECLS cpl_error_code hdrl_fpn_compute(cpl_image *img_in, const cpl_mask *mask_in, const cpl_size dc_mask_x, const cpl_size dc_mask_y, cpl_image **power_spectrum, double *std, double *std_mad)
Algorithms to compute fixed pattern noise on a single image.
Definition: hdrl_fpn.c:113