Re: Roi manager multi measure from a plugin
Posted by
Philippe Mailly on
Jun 07, 2014; 1:56pm
URL: http://imagej.273.s1.nabble.com/Roi-manager-multi-measure-from-a-plugin-tp5008021p5008084.html
Hi Wayne,
When I try to use the multiMeasure method, I get an error message "the
method is not public". I downloaded the ij.jar from the daily build.
I have a other question, is this method is implemented in the ij 2
libraries, I'm using Fiji which is now in imageJ 2 rc version.
Thanks
Philippe
"Rasband, Wayne (NIH/NIMH) [E]" <
[hidden email]> a écrit :
> On Jun 5, 2014, at 12:00 AM, Philippe Mailly wrote:
>
>> Hi,
>>
>> How to run roi manager command multi measure from a plugin without
>> displaying image and dialog box as in batch mode from macro.
>
> The latest ImageJ daily build (1.49c6) adds a public multiMeasure()
> method to the ROI Manager and upgrades the recorder to support this
> method. This is the JavaScript code the recorder generates when you
> use the "Multi Measure" command:
>
> imp = IJ.getImage();
> rm = RoiManager.getInstance();
> if (rm==null) rm = new RoiManager();
> rt = rm.multiMeasure(imp);
> rt.show("Results");
>
> -wayne
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html