Documentation Center

  • Trial Software
  • Product Updates

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.

Examples

Read image data from an Interfile file.

img = interfileread('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.

Was this topic helpful?