Re: Slicer [message #8325 is a reply to message #4260] |
Mon, 24 February 1997 00:00  |
David Foster
Messages: 341 Registered: January 1996
|
Senior Member |
|
|
Christian Ammon wrote:
>
> What I want to do is loading about 60 2d-images (tiff-formated or gif) into IDL and
> combining them to a threedimensional array. After this I want to get some slices out of
> it. I already used the slicer.
> Now I got some questions:
>
> 1.) How can I transfer the images to IDL and combine them to a 3d-array?
> 2.) Is it possible to take slices depart 90 degree, e.g. 45 degree?
>
In regards to #2:
You can use the IDL routine EXTRACT_SLICE.PRO to extract a slice
at any orientation within the 3D volume. However, this routine
assumes that the voxels are isotropic (the same size in all three
dimensions), so if the interval of your slices in the Z dimension
is unique you get very distorted images.
I've written a RESLICE.PRO routine that extracts slices from a
volume, taking into account the spacing between images. Let me know
if you'd like a copy (offer open to anyone).
Dave
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
David S. Foster Univ. of California, San Diego
Programmer/Analyst Brain Image Analysis Laboratory
foster@bial1.ucsd.edu Department of Psychiatry
(619) 622-5892 8950 Via La Jolla Drive, Suite 2200
La Jolla, CA 92037
[ UCSD Mail Code 0949 ]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
|
|
|