CR2RE Pipeline Reference Manual 1.6.7
hdrl_maglim.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_MAGLIM_H
21#define HDRL_MAGLIM_H
22#include <cpl.h>
23#include <hdrl_parameter.h>
24CPL_BEGIN_DECLS
25/*-----------------------------------------------------------------------------
26 New types
27 -----------------------------------------------------------------------------*/
28
29/*-----------------------------------------------------------------------------
30 Includes
31 -----------------------------------------------------------------------------*/
32cpl_error_code
33hdrl_maglim_compute(const cpl_image * image,
34 const double zeropoint,
35 const double fwhm,
36 const cpl_size kernel_size_x,
37 const cpl_size kernel_size_y,
38 const hdrl_image_extend_method image_extend_method,
39 const hdrl_parameter * mode_parameter,
40 double* limiting_magnitude);
41
42/*-----------------------------------------------------------------------------
43 Private declarations - must not be used outside of hdrl
44 -----------------------------------------------------------------------------*/
45
46CPL_END_DECLS
47
48#endif
CPL_BEGIN_DECLS cpl_error_code hdrl_maglim_compute(const cpl_image *image, const double zeropoint, const double fwhm, const cpl_size kernel_size_x, const cpl_size kernel_size_y, const hdrl_image_extend_method image_extend_method, const hdrl_parameter *mode_parameter, double *limiting_magnitude)
Computes the limiting magnitude of an image.
Definition: hdrl_maglim.c:114