Rotating 3D image [message #53424] |
Fri, 13 April 2007 09:16 |
StevenM
Messages: 9 Registered: June 2006
|
Junior Member |
|
|
Hi all,
I hope somebody can help. I am not very good with IDL (and seem to be
getting worse!)
I am trying to write a function to store the maximum intensity
projection of a 3D data set from various angles. So far I have
managed to figure out (rightly of wrongly?)
using
scale3, xrange,yrange, zrange, ax=0 or 90 etc
mip=voxel_proj(data,/maximum_intensity)
gives me the mip at various rotations on the x-axis depending on the
ax value. Now what I want to do is use a loop to cycle through
various ax values and then store them in an array i.e. mip dimensions
(640x512) and 10 different rotations about the x-axis would give
newarray(640,512,10). This I could then somehow save as an Mpeg and
so I would have a rotating movie!
thanks
Steven
|
|
|