Posted by
Philip Ershler on
Jan 20, 2009; 10:02pm
URL: http://imagej.273.s1.nabble.com/Copy-volume-from-within-stack-to-new-stack-tp3693965p3693978.html
On Jan 20, 2009, at 2:39 PM, Johannes Schindelin wrote:
> Hi,
>
> On Tue, 20 Jan 2009, Philip Ershler wrote:
>
>> Hi,
>> Here is a macro although fairly basic, does the job. It takes a
>> stack
>> of images and creates a stack of 3D images. Just setup the
>> Interactive
>> 3D viewer with the view and other settings that you want. Then
>> execute
>> this macro.
>
> How does that give you a time axis in the 3D viewer?
>
> AFAICT it takes all the slices of the current stack, one by one, turns
> them into height fields _individually_, and then puts those height
> fields
> into a new stack.
>
> So rather than show XYZ data progressing in time, it takes an XYT
> stack (two spatial dimensions and a time dimension), adds a
> (redundant)
> 3rd dimension reflecting the intensity of the slice's pixels, and
> puts the
> result into another XYT stack.
>
> Am I wrong?
>
Yes I think you have misunderstood the process. The macro takes one XY
image at a time, submits it to the Interactive 3D viewer, and the
result is an XYZ image for that time point. This image is placed on a
new stack. Then it takes the next image from the stack of XY images
(which represents the next point in time) and creates an XYZ image for
that time point and adds it to the new stack. The resulting new stack
is an XYZT stack, allowing you to animate the XYZ images that are
constructed from the original XY data.
I have an expanded version of this macro that will actually imbed the
XY image up in the corner of the XYZ image. This allows you to see the
XYT data along with the XYZT data. I couldn't find it quickly, but I
know I've got it somewhere. I made a pretty dandy quicktime movie of
the result.
Does this help?
Phil
> Ciao,
> Dscho