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

Home » Public Forums » archive » Re: 3D Reconstructions of 2D Slices
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: 3D Reconstructions of 2D Slices [message #19823 is a reply to message #19822] Thu, 20 April 2000 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
davidf@dfanning.com (David Fanning) writes:
>
> Does anyone have any pointers/suggestions/code for creating
> 3D volume arrays from 2D image slices? I know this kind of
> thing is being done all the time, but apparently the IDL
> code for it is under lock and key at one (no one knows
> *which* one) of the National Labs. :-(
>

Would this just-recently-declassified snippet help?

vol = dblarr(100,100,20) ; 100x100 images, 20 of them
for i = 0, 19 do $
vol(*,*,i) = read_my_image(image_file(i))

Extra bonus points can be gotten for recognizing the speed-up achieved
by saying "vol(0,0,i) = " instead.

Somehow I think you are asking for more though?

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: XMANAGER question
Next Topic: XMANAGER question

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

Current Time: Wed Oct 08 19:09:41 PDT 2025

Total time taken to generate the page: 0.00645 seconds