The READ_INTERFILE procedure reads image data stored in Interfile (v3.3) format and returns a 3D array.
Note: this is a simplistic reader. READ_INTERFILE can only read a series of images if all images have the same height and width. It does not get additional keyword information beyond what is needed to read the image data. If any problems occur when reading the file, READ_INTERFILE prints a message and stops.
If the data is stored on a bigendian machine and read on a littleendian machine (or vice versa) the order of bytes in each pixel element may be reversed, requiring a call to BYTEORDER
This routine is written in the IDL language. Its source code can be found in the file
read_interfile.pro
in the
lib
subdirectory of the IDL distribution.