The Analyze data format

This page gives some information and links about the the Analyze image data format. Analyze images are the primary image format used in SPM. SPM also uses some extensions to the basic format, which are described below.

What is Analyze?

Analyze is an image processing program, written by The Biomedical Imaging Resource at the Mayo Foundation. The Analyze data format is used by the Analyze program, and now by a wide variety of other software, including SPM.

The basic Analyze (7.5) format

There are two Analyze formats. One, by much the more common, is Analyze 7.5. This is the format used by SPM, and discussed on this page. The other is Analyze AVW, the format used in the latest version of the Analyze program. We won't discuss AVW format any further, as it not yet used by many programs other than Analyze AVW itself.

An Analyze (7.5) format image consists of two files, and image and a header file. If the image is for example named "brain", then the files for that image will be called "brain.img" and "brain.hdr". The .img file contains the numbers that make up the information in the image. The .hdr file contains information about the img file, such as the volume represented by each number in the image (voxel size) and the number of pixels in the X, Y and Z directions. This header contains fields of text, floating point, integer and other information.

The SPM99 help system describes the SPM / Analyze image format - see an html version of the SPM99 help on image format.

These links also describe the Analyze format in more detail:

SPM modifications of the basic analyze format

SPM uses the basic Analyze 7.5 format, but with three modifications / extensions. These are:

Matthew Brett, Chris Rorden 17/6/99

HOME Cambridge Imagers Home Page.

© Copyright MRC Cognition and Brain Sciences Unit 1999.

Page maintained by: matthew.brett@mrc-cbu.cam.ac.uk
Last Refreshed: Fri Aug 24 15:50:44 GMT Daylight Time 2001