On Fri, Aug 9, 2013 at 12:55 PM, Mottlab <
[hidden email]> wrote:
> I need to batch subract image 1 from image 2, then image 2 from
> image 3, and image 3 from image 4, and so on for all 500 images, add false
> color, then save them all to a new folder.
>
> Is there a plugin I could use, or a macro? I'm new to ImageJ and don't know
> where to begin.
>
You can do this with the normal ImageJ commands:
1) Import your data as as stack; try using:
File > Import > Image Sequence.
2) Create a copy with
Image > Duplicate (enable the "Duplicate stack" option)
3) Scroll to the last image in the original copy (let's call it) Stack 1, and
Image > Stacks > Delete slice
... similarly delete the first image in the duplicate copy, Stack 2
4) Subtract Stack 2 from Stack 1 using:
Process > Image Calculator
.. select "float result" if you want to see negative and positive differences.
If this gives the desired result, to automate this into a macro, run:
Plugins > Macros > Record
> Lauren
Pariksheet
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html