-
Notifications
You must be signed in to change notification settings - Fork 0
/
pcinfo.h
72 lines (67 loc) · 3.09 KB
/
pcinfo.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*********************************************************************
*_Title pcinfo.h Define pcinfo globals
*_VARS None
*
*_HIST Feb 03 2003 Janet Barrett, USGS Flagstaff, Original Version
**********************************************************************/
#ifndef PCINFO_H
#define PCINFO_H 1
#include "isis_limits.h"
#include "isisdef.h"
#include "binding.h"
#include "pcinfo.p"
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define PI 3.141592653589793
#define RAD_TO_DEG 180.0/PI
#define DEG_TO_RAD PI/180.0
CHAR from[MAXFILNAME+1]; /* Input image file */
INT4 fid; /* File id for from file(s) */
INT1 nucenter; /* Change from default center line/sample? (1) for
SPICE geometry info, (2) for center of spherical
datum */
FLOAT8 x; /* (1), (2) user-specified sample at which to
calculate geometry, relative to FULL frame(s)
(3) user-specified sample at center of spherical
datum, relative to input image, which may be less
than full frame because of previous processing */
FLOAT8 y; /* (1), (2) user-specified line at which to
calculate geometry, relative to FULL frame(s)
(3) user-specified line at center of spherical
datum, relative to input image, which may be less
than full frame because of previous processing */
INT1 distortd; /* Does each image contain distortions? */
FLOAT4 radius; /* Planetary radius in km; user input overrides value
from planet.sav */
FLOAT8 aznor; /* Azimuth(s) to north */
FLOAT8 res; /* Image resolution(s) in km/pixel */
/* clemi, clinc, azemi, and azinc will be converted from the
usual photometric angles in image 2 into angles describing the
emission incidence vectors of image 2 relative to coordinates
centered on the emission directions for image 1 */
FLOAT8 clemi; /* Emission angles for image(s) */
FLOAT4 clinc; /* Phase angle(s) */
FLOAT8 azemi; /* Azimuth(s) of surface normal vector(s) */
FLOAT8 azinc; /* Azimuth(s) of incidence vector(s) */
FLOAT4 dip; /* Dip of datum (degrees) */
FLOAT4 az; /* Azimuth of datum dip */
FLOAT4 scale; /* Scale factor to convert final output
to units of m/dn */
FLOAT4 charaz; /* Azimuth of characteristic strips */
FLOAT4 charazgrid; /* Azimuth of characteristic strips -
this value is displayed on the main
gui window */
INT4 ins,inl; /* Number of samples, number of lines in input
image */
INT4 *cdum; /* Array containing all final and
intermediate pcp data */
INT4 image_bytes;
FLOAT4 image_scale[2];
INT4 nx,ny; /* Sample,line dimension of image in internal
orientation */
INT4 n1,n2,n3,n4,n5; /* Indices to data in cdum array */
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif