comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Wrong Slice order
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Wrong Slice order [message #18166] Thu, 02 December 1999 00:00
menafe is currently offline  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.
[Message index]
 
Read Message
Previous Topic: YSIZE MUST be > 1 AND must be defined
Next Topic: do I really need to use loops on objects?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 22:26:14 PDT 2025

Total time taken to generate the page: 1.12105 seconds