Requesting Help in Tweaking the "Batch RGB Merge" Macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Requesting Help in Tweaking the "Batch RGB Merge" Macro

tom_cheng
This post was updated on .
Hi everyone!

I'm new to ImageJ, and even newer to this forum, but I'm eager to learn from this community!

Now, I have recently come across a macro from the ImageJ site itself, as the link below will show:

http://rsb.info.nih.gov/ij/macros/Batch_RGB_Merge.txt

This macro itself works beautifully for its intended purpose. However, I was wondering how I can tweak it so that it does the following instead:

- Only Merge Red and Blue Channels; Green is not needed (my images are only of DAPI and Phalloidin)
- Have the code scanning for image name suffix "tags" (ie. "d1" and "d0") changed to recognizing prefixes instead

I hope this could be done without too much trouble! I just don't want to have to rename all of my hundreds of images.

Thank you all in advance for your help!