[Insight-users] Re: meta image files (fwd)

George C LaVerde gclst6+@pitt.edu
Mon, 14 Apr 2003 12:00:14 -0400 (EDT)


Hi, can anybody help me with this? Thanks,


---------- Forwarded message ----------
Date: Mon, 14 Apr 2003 10:56:00 -0400 (EDT)
From: George C LaVerde <gclst6@pitt.edu>
To: dmshelto@andrew.cmu.edu
Subject: Re: meta image files


Damion,
	In brainweb165a10f17.mha is:

NDims = 3
DimSize = 181 217 180
ElementType = MET_UCHAR
ElementSpacing = 1.0 1.0 1.0
ElementByteOrderMSB = False
ElementDataFile = brainweb165a10f17.raw

I'm trying to convert raw image files to .mha files.  I assume that the
above:
ElementType = MET_UCHAR
is declaring the pixel type to unsigned char.  What is the correct thing
for:

short int
long int
float
double

and do I just add the "U" to make them unsigned?

I looked at the website below, but I couldn't find any info about this.

The BrainWeb project home page is :

   http://www.bic.mni.mcgill.ca/brainweb

Thanks,

George


-----------------
George C. LaVerde
MD/PhD Student
Univ. of Pittsburgh
gclst6+@pitt.edu
(412)889-2046