IMAGEFILES
Here we store the images that will be used in SPC. They are created by process_img, which is different for every flight mission.
The key data stored in IMAGEFILES is a scaled signed integer (2 bytes or 16 bits), with the exclusion of values less than 0. Acceptable values are 0 to 32767. process_img will take the original images' data (float or int) and calculate the maximum value. Then it will scale the data to spread from 0 to 32767 to maximize the accuracy of the stored data.