|
Hello, I've searched for an answer and not found anything that worked for me so far, I thought it would be simple but doesn't seem to be...
I'd like a macro that merges 2 images, giving a green and blue composite, but I need it to be generic, so the image title can be different each time. It would be perfect if the macro could run on a whole directory.
The image file names contain the text "FITC" (for green) and "DAPI" (for blue).
e.g. "A - 1(fld 1 wv FITC - FITC- time 2 - 7600 ms).tif"
There are many images in a directory, but I only want to merge the ones whose titles match with the "A - 1" and "7600 ms", (so "A - 1(fld 1 wv FITC - FITC- time 2 - 7600 ms).tif" merges with "A - 1(fld 1 wv DAPI - DAPI- time 2 - 7600 ms).tif", and "B - 2(fld 1 wv FITC - FITC- time 2 - 14600 ms).tif" merges with "B - 2(fld 1 wv DAPI - DAPI- time 2 - 14600 ms).tif")
Finally i'd like the composites saved as .jpeg in a new directory somewhere
Really appreciate any help with this, I can't think how to do it.
|