Functions for I/O of ANALYZE format .img and .hdr image files.