Re: Running IJ.Run("Set Measurements...") and getting the outputs using Java codes
Posted by luckyluke on Nov 16, 2014; 7:54am
URL: http://imagej.273.s1.nabble.com/Running-IJ-Run-Set-Measurements-and-getting-the-outputs-using-Java-codes-tp5010456p5010463.html
Hi,
I have done the threshoding and analyse particles previously ..now then i execute set measures to get it the descriptive from my ROI..but still I don't have any idea how to get all those marks in set meaures windows with my java application?
this is the coed i use
====
IJ.run(imp, "8-bit", "");
IJ.run(imp, "Make Binary", "");
IJ.run(imp, "Analyze Particles...", "size=1-Infinity show=Outlines clear add");
rm.select(0);
IJ.run("Set Measurements...", "area mean min median area_fraction redirect=IMD002.bmp decimal=3");
rm.select(0);
rm.runCommand("Measure");
====
but how to get the measures in set measure windows?