How to calculate diameter of multiple particle by using macro in ImageJ?

I want to measure the diameter of each one. is there any macro or plugin for this?

Hey @Praveen_kumar_R

Welcome to the Forum!

So to start scripting with ImageJ/Fiji… here are few helpful links to get you started:

Here is a little macro I put together that might get you what you need…

setOption("BlackBackground", true);
run("Make Binary");
run("Analyze Particles...", "size=200-Infinity exclude clear add"); // you can set different size limits here if you want

count = roiManager("count"); 

for (i = 0; i < count; i++) {
	roiManager("Select", i);
	run("Fit Ellipse");
	roiManager("Select", i);

roiManager("multi-measure measure_all");

You can change what is measured in Set Measurements.

Hope this helps!

eta :slight_smile:

1 Like

Thanks alot…

1 Like