Re: STD_DEV measurement missing
Posted by
Michael Schmid on
Mar 04, 2010; 8:28am
URL: http://imagej.273.s1.nabble.com/STD-DEV-measurement-missing-tp3689136p3689137.html
Hi Cspr,
probably it should be
IJ.run("Clear Results");
no second argument, no dots. Use Macros>Record to see what the
commands look like.
Concerning StdDev, did you select it in "Set Measurements..."?
Looking at the code, it seems that this could be done by a macro as
well (unless you do some heavy number crunching or the like).
Michael
________________________________________________________________
On 3 Mar 2010, at 23:58, Cspr wrote:
> After running ParticleAnalyzer, I clear the Result window using
>
> IJ.run("Clear results...","");
>
> select another image using.
>
> IJ.selectWindow(impAry[1].getTitle());
>
> and run the measurement command there as well calling measure. In
> total the
> code is:
>
> IJ.run("Clear Results", "");
> IJ.selectWindow(impAry[1].getTitle());
> rm.setEditMode(impAry[1], true);
> rm.runCommand("Show All");
> rm.runCommand("Measure");
>
> However there is a problem. The result windows originally contained
> the
> columns Area, Mean, Std_dev, Min, Max - but after clearing the
> window and
> calling measure I only get Area, Mean and Min, Max as
> measurements. Where
> did Std_Dev go? Is there something missing?
>
> Thanks