IIINSTRUMENT Pipeline Reference Manual 4.6.2
visir_spc_distortion.h
1/* $Id: visir_spc_distortion.h,v 1.16 2012-05-30 08:16:24 jtaylor Exp $
2 *
3 * This file is part of the VISIR 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: 2012-05-30 08:16:24 $
24 * $Revision: 1.16 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef VISIR_SPC_DISTORTION_H
29#define VISIR_SPC_DISTORTION_H
30
31/*-----------------------------------------------------------------------------
32 Includes
33 -----------------------------------------------------------------------------*/
34
35#include <cpl.h>
36
37#include "visir_inputs.h"
38#include "visir_spc_optmod.h"
39
40/*-----------------------------------------------------------------------------
41 Prototypes
42 -----------------------------------------------------------------------------*/
43
44#define VISIR_DRS_DIST_KSI (0.7 * CPL_MATH_RAD_DEG)
45#define VISIR_DRS_DIST_EPS 1.04
46#define VISIR_DRS_DIST_DELTA 0.08
47#define VISIR_DRS_DIST_PHI (1.6 * CPL_MATH_RAD_DEG)
48
49cpl_error_code visir_spc_det_fix(cpl_image **, int, cpl_boolean,
50 double, visir_spc_resol, double, double,
51 double, double, int);
52
53cpl_error_code visir_spc_det_warp(cpl_image **, int, double, double,
54 double, double, double, double);
55
56#endif