Re: CT LUNG VISUALISATION [message #11606 is a reply to message #11541] |
Mon, 27 April 1998 00:00   |
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/
------------------------------------------------------------ -------
|
|
|