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.

interfileread

Read images in Interfile format

Syntax

A = interfileread(filename)
A = interfileread(filename, window)

Description

A = interfileread(filename) reads the images in the first energy window of filename into A, where A is an M-by-N array for a single image and an M-by-N-by-P array for multiple images. The file must be in the current directory or in a directory on the MATLAB® path.

A = interfileread(filename, window) reads the images in the energy window specified by window of filename into A.

The images in the energy window must be of the same size.

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 image data from an Interfile file.

img = interfileread('MyFile.hdr');

References

[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