I am newbie with creating macros.
Every folder contains 4 tiff files. I would like to pre-process these four images (each is a different channel_blue green red and magenta which I convert to gray) separately then count objects based on double-triple positive.
my problem is with obtaining the files from each folder (each file is named (directory name_CH# (1-4)) and assigning them a name to be able to work on with in the batch mode.
I found some hints online to use index function but I have no idea how to properly formulate that. Could someone please help?