Login  Register

Re: using BAR Distribution plotter in a macro script

Posted by Aryeh Weiss on Jun 22, 2020; 6:13pm
URL: http://imagej.273.s1.nabble.com/using-BAR-Distribution-plotter-in-a-macro-script-tp5023555p5023564.html

Dear Kees,

Thank you fro your reply.

On 22/06/2020 20:11, Straatman, Kees (Dr.) wrote:
> run("Set Measurements...", "area mean standard min limit redirect=None
> decimal=3");
> run("Blobs (25K)");
> setAutoThreshold("Default");
> run("Analyze Particles...", "display");
> run("Distribution Plotter", "parameter=Mean tabulate=[Number of
> values] automatic=[Specify manually below:] bins=50");

This script also runs correctly on my machine. It must have something to
do with my Results.

And so I looked again, and found that my results table was generated
forma binary image (by mistake), and all of the Means were 255. Sure
enough, max-min is really zero, and the script is doing what it is
supposed to.
Thank you again for getting me to see this.

Best regards
--aryeh

--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html