I’m totally new to this image analysis and macros and I have some trouble…
This is the macro I have come up with so far by using the macro recorder:
// Split image into red, green and blue channels run("Split Channels"); // Subtract red channel from green imageCalculator("Subtract create", "Image 1_m01.tif (green)","Image 1_m01.tif (red)"); selectWindow("Result of Image 1_m01.tif (green)"); // Threshold setAutoThreshold("Default dark"); //run("Threshold..."); //setThreshold(50, 255); run("Convert to Mask"); // Close spheres run("Close-"); // Count cells run("Analyze Particles...", "size=30-Infinity circularity=0.45-1.00 show=Nothing display exclude include");
The problem is with the image calculator and make the macro generic so I can process a folder of images. I have tried batch process but the macro doesn’t work, and I have looked at
but I don’t understand it…
Can someone please help me finish this macro making it work?
Thanks in advance!