1 |
< |
/* Copyright (c) 1991 Regents of the University of California */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ LBL" */ |
4 |
< |
|
1 |
> |
/* RCSid: $Id$ */ |
2 |
|
/* |
3 |
|
* Common data structures for glare source finding routines |
4 |
|
*/ |
5 |
+ |
#ifndef _RAD_GLARE_H_ |
6 |
+ |
#define _RAD_GLARE_H_ |
7 |
|
|
8 |
|
#include "standard.h" |
9 |
|
#include "view.h" |
10 |
|
#include "color.h" |
11 |
|
#include "setscan.h" |
12 |
|
|
13 |
+ |
#ifdef __cplusplus |
14 |
+ |
extern "C" { |
15 |
+ |
#endif |
16 |
+ |
|
17 |
|
#define GLAREBR 7.0 /* glare source is this * avg. lum. */ |
18 |
|
|
19 |
|
#define SAMPDENS 75 /* default samples per unit in image */ |
73 |
|
struct source *next; /* next source in list */ |
74 |
|
} *donelist; /* finished sources */ |
75 |
|
|
76 |
< |
extern double getviewpix(); |
77 |
< |
extern double pixsize(); |
76 |
> |
extern double getviewpix(int vh, int vv); |
77 |
> |
extern double pixsize(int x, int y); |
78 |
|
|
79 |
|
extern long npixinvw; /* number of samples in view */ |
80 |
|
extern long npixmiss; /* number of samples missing */ |
81 |
+ |
|
82 |
+ |
|
83 |
+ |
|
84 |
+ |
#ifdef __cplusplus |
85 |
+ |
} |
86 |
+ |
#endif |
87 |
+ |
#endif /* _RAD_GLARE_H_ */ |
88 |
+ |
|