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

Home » Public Forums » archive » Slicer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Slicer [message #8226 is a reply to message #4260] Mon, 17 February 1997 00:00 Go to previous messageGo to previous message
agraps is currently offline  agraps
Messages: 35
Registered: September 1994
Member
I just realized that my previous post may have been misleading.

Reading in data from 2D arrays into 3D arrays in IDL is simple, but
'filling in' that 3D array to make a rendered volume is what is harder.

If your 2D data is nx by ny and you have 60 of those, follow the
instructions for reading in READ_GIF or TIFF_READ in the manual. If
one of your images is im = bytarr(nx,ny), then place it where you want
in the 'z' column (any ordering will do, just be consistent).

data3d = bytarr(nx, ny, 60)
data3d(0,0,0) = im ;put image into z=0 column

next image would go in:
data3d(0,0,1) = im

and so on, for each of the 60 images.

And so slicer should work on the array data3d. You can get more
details from the IDL Reference and Basics books under "Slicer" and
"Volume Visualization", respectively.

Amara


--

************************************************************ *************
Amara Graps email: agraps@netcom.com
Computational Physics vita: finger agraps@best.com
Multiplex Answers URL: http://www.amara.com/
************************************************************ *************
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: solving alghorithm for gaus curves
Next Topic: IDL: Center of Gravity Function

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

Current Time: Fri Oct 10 04:43:24 PDT 2025

Total time taken to generate the page: 0.39781 seconds