[Insight-users] File formats that preserve image metadata

Li, George (NIH/NCI) ligeorge at mail.nih.gov
Thu Jul 28 15:24:14 EDT 2005


Zach:

If this is only for yourself usage, you can create your own
Image file with the format you would like to define for the
Metadata, as a small header in front of the bulk image data.
After it is saved, you can always read it back with the same
Known format and feed it to ITK.

This is an alternative way to do it and communicate with ITK.
Anyway it may be dirty but quick and fully controllable. :-)

George


-----Original Message-----
From: Zachary Pincus [mailto:zpincus at stanford.edu] 
Sent: Thursday, July 28, 2005 3:09 PM
To: insight-users @ itk. org
Subject: [Insight-users] File formats that preserve image metadata


Hello,

Which file formats that ITK can write support the full complement of  
basic ITK image metadata (index, spacing, origin)?

I had thought that MHA/MHD images did, but (after some painful  
debugging) I realized that my problem was that MHA images did not  
seem to be preserving the image origin.

Any suggestions for how I should save intermediate steps in image  
processing routines which depend on the index/spacing/origin metadata  
would be appreciated.

Zach Pincus

Program in Biomedical Informatics and Department of Biochemistry Stanford
University School of Medicine

_______________________________________________
Insight-users mailing list
Insight-users at itk.org http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list