13 |
|
/* false color mapping data structure */ |
14 |
|
typedef struct { |
15 |
|
TMbright mbrmin, mbrmax; /* mapped min. & max. brightnesses */ |
16 |
< |
BYTE *lumap; /* false color luminance map */ |
17 |
< |
BYTE (*scale)[3]; /* false color ordinal scale */ |
16 |
> |
uby8 *lumap; /* false color luminance map */ |
17 |
> |
uby8 (*scale)[3]; /* false color ordinal scale */ |
18 |
|
} FCstruct; |
19 |
|
|
20 |
< |
extern BYTE fcDefaultScale[256][3]; /* default false color scale */ |
20 |
> |
extern uby8 fcDefaultScale[256][3]; /* default false color scale */ |
21 |
|
|
22 |
|
extern FCstruct * |
23 |
< |
fcInit(BYTE fcscale[256][3]); |
23 |
> |
fcInit(uby8 fcscale[256][3]); |
24 |
|
/* |
25 |
|
Allocate and initialize false color mapping data structure. |
26 |
|
|
77 |
|
*/ |
78 |
|
|
79 |
|
extern int |
80 |
< |
fcMapPixels(FCstruct *fcs, BYTE *ps, TMbright *ls, int len); |
80 |
> |
fcMapPixels(FCstruct *fcs, uby8 *ps, TMbright *ls, int len); |
81 |
|
/* |
82 |
|
Apply false color mapping to pixel values. |
83 |
|
|