[Insight-users] multiResMIRegistration Data format

Lydia Ng lng@insightful.com
Thu, 20 Mar 2003 12:46:13 -0800


Dear Tim,

--------------------
You are correct, the fixed volume column-row-slice would be 181 217 180.

-----------------------
The relationship between the Meta Header ElementByteOrderXXX and =
parameter file "Endian-ness" is as follow:
ElementByteOrderMSB =3D True maps to Endian-ness =3D 1
ElementByteOrderMSB =3D False maps to Endian-ness =3D 0
ElementByteOrderLSB =3D True maps to Endian-ness =3D 0
ElementByteOrderLSB =3D False maps to Endian-ness =3D 1
-----------------------

Note that MultiResMIRegistration expects data to be "signed short" but =
you have "unsigned char" data.

You can go into MultiResMIRegistration.cxx and change "signed short" to =
"unsigned char". I think other users have done so in the past and could =
get the application to work.

- Lydia


-----Original Message-----
From: Tim Fox, PhD [mailto:tim@radonc.emory.org]=20
Sent: Thursday, March 20, 2003 11:37 AM
To: insight-users@public.kitware.com
Subject: [Insight-users] multiResMIRegistration Data format

I am trying to use the data in BrainWeb located at public.kitware.com =
ftp site.=A0 I want to use with the ITK 1.2 application =
MultiMIResRegistration.=A0 This application requires a param file.=A0 I =
would like to know how to convert the .mha file for BrainPart1.mha to =
the param file.=A0 In the brainweb1e1a10f20.mha file, I see the =
following:
NDims =3D 3=20
DimSize =3D 181 217 180=20
ElementType =3D MET_UCHAR=20
ElementSpacing =3D 1.0 1.0 1.0=20
ElementByteOrderMSB =3D False=20
ElementDataFile =3D brainweb1e1a10f20.raw=20
Would the size of the fixed volume column-row-slice order be 181 217 =
180.=A0 Also, would the "endian-ness" be 1 or 0?=A0 Thanks for any help =
on this issue.
Tim=20