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

Lydia Ng lng@insightful.com
Wed, 16 Apr 2003 10:56:29 -0700


>From Utilities\MetaIO\metaTypes.h

   MET_CHAR,=20
   MET_UCHAR,=20
   MET_SHORT,
   MET_USHORT,
   MET_INT,=20
   MET_UINT,=20
   MET_FLOAT,=20
   MET_DOUBLE,


You might also want to look at the following MetoIO documentation
http://tolkien.rad.unc.edu/technologies/MetaImage/MetaIO-Introduction.pd
f

Hope this helps,
Lydia

> -----Original Message-----
> From: George C LaVerde [mailto:gclst6+@pitt.edu]
> Sent: Monday, April 14, 2003 9:00 AM
> To: insight-users@public.kitware.com
> Subject: [Insight-users] Re: meta image files (fwd)
>=20
>=20
> Hi, can anybody help me with this? Thanks,
>=20
>=20
> ---------- 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
>=20
>=20
> Damion,
> 	In brainweb165a10f17.mha is:
>=20
> NDims =3D 3
> DimSize =3D 181 217 180
> ElementType =3D MET_UCHAR
> ElementSpacing =3D 1.0 1.0 1.0
> ElementByteOrderMSB =3D False
> ElementDataFile =3D brainweb165a10f17.raw
>=20
> I'm trying to convert raw image files to .mha files.  I assume that
the
> above:
> ElementType =3D MET_UCHAR
> is declaring the pixel type to unsigned char.  What is the correct
thing
> for:
>=20
> short int
> long int
> float
> double
>=20
> and do I just add the "U" to make them unsigned?
>=20
> I looked at the website below, but I couldn't find any info about
this.
>=20
> The BrainWeb project home page is :
>=20
>    http://www.bic.mni.mcgill.ca/brainweb
>=20
> Thanks,
>=20
> George
>=20
>=20
> -----------------
> George C. LaVerde
> MD/PhD Student
> Univ. of Pittsburgh
> gclst6+@pitt.edu
> (412)889-2046
>=20
>=20
>=20
>=20
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users