No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

3.8 | 8 ratings Rate this file 32 Downloads (last 30 days) File Size: 429 KB File ID: #1878 Version: 1.0
image thumbnail

MRI Analyze tools



24 Jun 2002 (Updated )

Read/View Analyze data format (MRI).

| Watch this File

File Information

These tools read and visualize Analyze MRI data files (.hdr, .img). Further work will create functions to write files. See for more information and regular updates.


This file inspired Tools For N If Ti And Analyze Image.

MATLAB release MATLAB 6.0 (R12)
Other requirements The GUI viewer does not work under matlab 5. The data file i/o should now work under matlab 5.
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (12)
10 Mar 2016 tan jun

thank you!It is a very useful tool!

Comment only
05 Nov 2015 wenchao yang

29 Nov 2012 Layla

Layla (view profile)

I have been trying to use the avw_img_read function to read in the eigenvalues and eigenvectors from a Diffusion Tensor Image. I appended 12 of these files (3 files for eigenvalues, 9 for eigenvector components) into a single volume in Analyze before exporting it as a .hdr and .img file for use with this code. That is, there are 12 224x224x65 files appended into one. This code doesn't seem to recognize that--the result is instead just one 224x224x65 double (labeled 'img' by default) in the avw struct. How can I get the code to recognize the other 11 data files in that one .img/.hdr file?

Comment only
30 Dec 2010 Praveen Kulkarni

Thank you very much. Great Code, saved lot of time.

20 May 2010 WP

WP (view profile)


I've found that
"hist.exp_time = sprintf('%2d-%2d-%2.0f',datime(4),datime(5),datime(6));"
doesn't make up the 10 bytes required, so I had to modify it to "%2.1f". But sometimes I still get a 347 byte hdr file. I'm not quite sure why that happens...

Thanks for these programs, I would never have been able to do this from scratch.

Comment only
21 Dec 2009 Ibraheem Al-Dhamari

How to use these files ?

Comment only
23 Jul 2009 Brad Henrie

Extremely well made. Finding these files has saved me 2 weeks of programming.

27 Jun 2008 Wenjia Bai

Very helpful for writing Analyze 7.5 format.

12 Sep 2006 kalai selvi

very helpful to learn the analyse formats. could you please give suggestion to convert thses .img format to .tiff format?

04 Oct 2005 James Hays

The file handling alone makes this a very useful tool.

10 Jun 2004 Peterson Carl

29 Apr 2004 JAMES Peter

Contact us