interfileinfo

Read metadata from Interfile file

Syntax

info = interfileinfo(filename)

Description

info = interfileinfo(filename) returns a structure whose fields contain information about an image in a Interfile file. filename is a string that specifies the name of the file. The file must be in the current directory or in a directory on the MATLAB® path.

The Interfile file format was developed for the exchange of nuclear medicine data. In Interfile 3.3, metadata is stored in a header file, separate from the image data. The two files have the same name with different file extensions. The header file has the file extension .hdr and the image file has the file extension .img.

Examples

Read metadata from an Interfile file.

info = interfileinfo('MyFile.hdr');

For more information about this file format, visit the Interfile Archive, maintained by the Department of Medical Physics and Bioengineering, University College, London, UK.

See Also

Was this topic helpful?