Posted by
Jerome Mutterer-3 on
URL: http://imagej.273.s1.nabble.com/Macro-to-measure-particles-and-save-ROI-on-to-original-image-tp5018747p5018769.html
Hi John,
The Process > FFT > Bandpass Filter... and Custom Filter... can process
Stacks.
If you want a different filter for each frame in the stack, you currently
cannot have a stack of FFT images, but you can do this a set of two macros:
A first macro loops the original slices, performs the FFT transform, and
copies the spectrum images in a new stack. You could then edit this stack.
For invert transform, a second macro loops through the original slices
again, retransform each slice, replace the FFT image with the edited
version, inverse transform, and copy this result to a results stack.
https://gist.github.com/mutterer/66f4b2385cef14ef1d088ad7d9070e94https://gist.github.com/mutterer/9735d0beb1bc31f56de8ecc6e8d35995The results are best viewed after synchronizing windows with
Analyze>Tools>Synchronize Windows.
Sincerely,
Jerome.
2017-05-19 23:49 GMT+02:00 John Oreopoulos <
[hidden email]>:
> Hello,
>
> I'd like to make the following ImageJ feature request: Would it be
> possible to modify the FFT command to prompt the user and ask if it wants
> to apply the FFT function to each frame in a stack (as opposed to just
> applying the FFT to the active frame of a stack)? I have a series of
> time-lapse imaging data where I'd like to analyze the FFT of each frame in
> the stack and do some filtering there, and subsequently inverse FFT the
> stack back to the image domain. Hoping Wayne can work his magic!
>
> Sincerely,
>
> John Oreopoulos
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
12, rue du Général Zimmer
67084 Strasbourg Cedex
www.ibmp.cnrs.fr
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html