[MINC-users] z-y-x to x-y-z via mincreshape, orientation not preserved...

Michel Audette minc-users@bic.mni.mcgill.ca
Tue May 3 05:03:05 2005


Hi everyone,

I am working with minc volumes that are originally z-y-x, but some of the
processing software that I use, developped by one of my collaborators
(Maxime Descoteaux), seems to depend on x-y-z orientation (or do "better"
with thus oriented data), so I use "mincreshape -dimorder xspace, yspace,
zspace +xdirection +ydirection +zdirection" to produce x-y-z volumes.

Later on, I would like to use both the input and this processed volume, and
to this effect, I resample my own input to also be x-y-z. However, I find
that some of the volumes that I create in my own processing, using
copy_volume_definition from my x-y-z input, does not preserve this x-y-z
input and reverts to z-y-x. Is there a way of copying or opening that
preserves x-y-z orientation input, even if the very original patient data
was z-y-x?

Just wondering...

Michel

Michel Audette, Ph.D.,
Research Fellow, Surgical Simulation,
Surgical Assist Technology Group,
AIST,
Namiki 1-2,
Tsukuba, Japan,
305-8564.
--------------------------------------------------------
"If you think you can do it, you're right.
 If you think you can't do it, you're still right."
- Henry Ford