Login  Register

Re: FFT of image stack

Posted by Gabriel Landini on Dec 05, 2009; 1:55pm
URL: http://imagej.273.s1.nabble.com/FFT-of-image-stack-tp3690205p3690211.html

On Saturday 05 December 2009, you wrote:
> Is there a plugin that can
> 1. calculate the FFT of each frame of a movie and
> 2. create of this stack of FFT's a new movie?   (preferable only
> amplitude (so only real part))

You could do it with a macro, something like:

a=getTitle(); // your stack
for(i=1;i<=nSlices;i++){
 setSlice(i);
 run("FFT");
 selectImage(a);
}
run("Images to Stack", "name=Stack title=[FFT of] use");

You might have to change the FFT options to get only the real part, but I
think that real and imaginary parts are returned as a 2 slice stack, so there
might be more modifications to do to the above.

Cheers

G.