| 69 |
|
extern int input_orient; |
| 70 |
|
extern int output_orient; |
| 71 |
|
|
| 72 |
+ |
/* log BSDF histogram */ |
| 73 |
+ |
#define HISTLEN 256 |
| 74 |
+ |
#define BSDF2BIG (1./M_PI) |
| 75 |
+ |
#define BSDF2SML 1e-8 |
| 76 |
+ |
#define HISTLNR 17.2759509 /* log(BSDF2BIG/BSDF2SML) */ |
| 77 |
+ |
extern int bsdf_hist[HISTLEN]; |
| 78 |
+ |
#define histndx(v) (int)(log((v)*(1./BSDF2SML))*(HISTLEN/HISTLNR)) |
| 79 |
+ |
#define histval(i) (exp(((i)+.5)*(HISTLNR/HISTLEN))*BSDF2SML) |
| 80 |
+ |
|
| 81 |
+ |
/* BSDF value for boundary regions */ |
| 82 |
+ |
extern double bsdf_min; |
| 83 |
+ |
|
| 84 |
|
/* processed incident DSF measurements */ |
| 85 |
|
extern RBFNODE *dsf_list; |
| 86 |
|
|
| 184 |
|
extern int get_interp(MIGRATION *miga[3], FVECT invec); |
| 185 |
|
|
| 186 |
|
/* Partially advect between recorded incident angles and allocate new RBF */ |
| 187 |
< |
extern RBFNODE * advect_rbf(const FVECT invec); |
| 187 |
> |
extern RBFNODE * advect_rbf(const FVECT invec, int lobe_lim); |