This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Read metadata from Interfile file


info = interfileinfo(filename)


info = interfileinfo(filename) returns a structure whose fields contain information about an image in a Interfile file. filename is a string scalar or character vector 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.


Read metadata from an Interfile file.

info = interfileinfo('MyFile.hdr');


[1] Todd-Pokropek, A, Cradduck, T.D., and Deconinck, F., A File Format for the Exchange of Nuclear Medicine Image Data: a specification of Interfile Version 3.3. Nucl Med Commun 13(9): 673-99, 1992.

Introduced before R2006a