Wrong Slice order [message #18166] |
Thu, 02 December 1999 00:00 |
menafe
Messages: 3 Registered: November 1999
|
Junior Member |
|
|
Dear all,
I have a raw binary file, which contains a MR volume made up of 60
slices of 512x512 pixels each, with 2 byte per pixel (~30Mb). I'm
reading it is as I always do:
openr, 1, filename
volume = INTARR(512,512,60)
readu, 1, volume
close, 1
But, as opposed to any other set I've ever tried (always smaller
dimensions), for this one IDL 5.2.1 (WinNT) reorders the slices in such
a way that displays 30..59 first and then 0..29. So, effectively it
splits the volume in half and reshuffles it! Is there anything
obviously wrong with my approach or is it something deeper than that?
I need this to try and segment the volume, but oviously, this is not
possible when your data has been dissected and displayed upside down!
Your insight will me much appreciated!
Cheers!
AL
--
Alfonso Ferrandez | menafe@leeds.ac.uk
http://www.mech-eng.leeds.ac.uk/~ferrandez/
Bio-Engineering Research Group
The University of Leeds, UK
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|