Posted by
Michael Schmid on
Mar 27, 2015; 4:11pm
URL: http://imagej.273.s1.nabble.com/no-subject-tp5012210p5012212.html
Hi Kenawy,
the following macro may serve as a starting point (beware of line breaks that may be introduced by the mailer; all lines should be indented by two spaces)
run("32-bit");
run("Subtract Background...", "rolling=200 light sliding");
run("Enhance Contrast", "saturated=0.35");
run("8-bit");
setOption("BlackBackground", false);
setAutoThreshold("Triangle dark");
//the following assumes that the op and bottom of the image is not of interest and deletes it
doWand(0,0, 0.0, "8-connected");
run("Set...", "value=0");
doWand(0, getHeight()-1, 0.0, "8-connected");
run("Set...", "value=0");
run("Select None");
run("Analyze Particles...", "size=3-Infinity show=Masks display clear include");
You may try to vary the parameters, e.g. the size range of "Analyze Particles" and the rolling radius of "Subtract Background".
You may also try the Trainable Weka Segmentation (if you have Fiji, not plain ImageJ).
Michael
________________________________________________________________
On Mar 27, 2015, at 14:03, mohamed kenawy wrote:
> Hello all,
> I am new with ImageJ. Can someone help me how can I count the number and sizes of the air bubbles in this slide ?
> Is there a way to extrapolate the results on an Excel sheet ?
> Regards,
> Kenawy.
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html<Nanozoomer PTK.tif>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html