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

Home » Public Forums » archive » CT LUNG VISUALISATION
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: CT LUNG VISUALISATION [message #11606 is a reply to message #11541] Mon, 27 April 1998 00:00 Go to previous messageGo to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Fraser Hatfield wrote:
>
> I was wondering if someone advise me on the following.
> I am trying to create a 3-D visualisation of the lungs from CT data
> within IDL. To do this I use the Shade_volume and polyshade commands.
> The problem I have is that the voxels are anisotropic, and so
> the visualisation looks squashed on storing the slices in an array
> of size (512,512,26)
> The dimensions are as follows.
> x=512,y=512,z=26, xres = 0.5mm, yres=0.5mm, zres=10mm.
> (NB the ct slices are contiguous)
> Could someone suggest the best way to manipulate the data so
> that the visualisation has the correct proportions in all directions
>

Although I have never seen my loungs in IDL, you may want to try congrid
in order to interpolate your data in the z dimension:

newdata = congrid(data,512,512,520,/interpolate)


Hope this helps,
Martin.

------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Earth&Planetary Sciences, Harvard University
186 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA

phone: (617)-496-8318
fax : (617)-495-4551

e-mail: mgs@io.harvard.edu
IDL-homepage: http://www-as.harvard.edu/people/staff/mgs/idl/
------------------------------------------------------------ -------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: IDL5 License Manager on DEC UNIX 4.0d
Next Topic: Re: Help : I cannot poly_fit to 9 degree!!!

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

Current Time: Fri Oct 10 21:58:55 PDT 2025

Total time taken to generate the page: 1.36228 seconds