McIDAS Programmer's Manual
Version 2015
[Search Manual]
[Table of Contents]
[Go to Previous]
[Go to Next]
FRAMENH.001
Frame enhancement table.
The frame enhancement file is a binary file that contains
an 816-word (3264-byte) table for each frame allocated for the session. To calculate the word position of a particular
frame's enhancement table, use the formula below.
position = (frame number * 816) + 1
In each table, the first 768 words contain the red, green and blue color intensities for each of the possible 256 brightness values. The individual intensities have a physical range of 0 to 255, where 0 is the minimum and 255 is the maximum intensity.
Word allocation for each file
Word
|
Description
|
0 - 815
|
reserved for system use
|
816 - 1631
|
image frame 1 enhancement table
|
1632 - 2447
|
image frame 2 enhancement table
|
2448 - 3263
|
image frame 3 enhancement table
|
...
|
...
|
Word allocation for each table
Word
|
Description
|
0
|
red color intensity for an image brightness of 0
|
1
|
red color intensity for an image brightness of 1
|
2
|
red color intensity for an image brightness of 2
|
...
|
...
|
255
|
red color intensity for an image brightness of 255
|
256
|
green color intensity for an image brightness of 0
|
257
|
green color intensity for an image brightness of 1
|
258
|
green color intensity for an image brightness of 2
|
...
|
...
|
511
|
green color intensity for an image brightness of 255
|
512
|
blue color intensity for an image brightness of 0
|
513
|
blue color intensity for an image brightness of 1
|
514
|
blue color intensity for an image brightness of 2
|
...
|
...
|
767
|
blue color intensity for an image brightness of 255
|
768-815
|
reserved
|
API functions
Currently, no API library functions exist for reading and writing frame enhancement files.
[Search Manual]
[Table of Contents]
[Go to Previous]
[Go to Next]