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

Home » Public Forums » archive » Re: rotating 3d array: help for the braindead!
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: rotating 3d array: help for the braindead! [message #3576] Mon, 20 February 1995 10:12 Go to previous message
mark_cadwell is currently offline  mark_cadwell
Messages: 10
Registered: February 1994
Junior Member
> I have a stack of MRI images that make up a 3d array, and I want to turn
> all the constituent images over.
> At the moment, I've got a FOR loop that goes through using
>
> ROTATE(image(*,*,i),2)
>
> on each one, but I'm convinced there must be a better way to do it in a
> oner without the FOR loop to slow things down.

There is a method of animation called double buffering where you plot an
image to a virtual window, copy the virtual window to your main window,
and while that is going on, you're drawing the next image to the virtual
window again. The advantage of doing it this way is that plotting to
virtual windows is much faster (at least in my machine) that plotting to
visible windows, and copying from a virtual window to a visible window is
also much faster that plotting. The result is a nice, smooth, and
reasonably fast image rotation.

----------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Button (etc.) events
Next Topic: Re: Reversed color table

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

Current Time: Fri Oct 10 14:33:56 PDT 2025

Total time taken to generate the page: 0.00193 seconds