Hi ALL,
I’ve tried and tried to figure creating a macro that removes the specific file name but I have been unsuccessful. Tomorrow, I will start to get the images that need to be processed, so I’m throwing in the towel in trying to figure it out on my own.
I will have images that are stained with Dapi and some cells with also be GFP positive but not all.
How do I make this macro to be used with any image:
run(“Make Composite”); run(“Split Channels”); selectWindow(“C1-P4 10106 2.jpg”); selectWindow(“C2-P4 10106 2.jpg”); selectWindow(“C3-P4 10106 2.jpg”); selectWindow(“C1-P4 10106 2.jpg”); close(); run(“Subtract Background…”, “rolling=50”); run(“Gaussian Blur…”, “sigma=2”); setAutoThreshold(“Default dark”); //run(“Threshold…”); //setThreshold(80, 255); setOption(“BlackBackground”, true); run(“Convert to Mask”); run(“Fill Holes”); run(“Watershed”); imageCalculator(“AND create”, “C2-P4 10106 2.jpg”,“C3-P4 10106 2.jpg”); selectWindow(“Result of C2-P4 10106 2.jpg”); setAutoThreshold(“Default dark”); //run(“Threshold…”); //setThreshold(12, 255); run(“Convert to Mask”); run(“Analyze Particles…”, “size=200-Infinity circularity=0.50-1.00 show=Outlines summarize”);
Thank you for any help.