Re: Can't save rois with RoiManager in plugin
Posted by Adam Waite on Feb 26, 2010; 1:57am
URL: http://imagej.273.s1.nabble.com/Can-t-save-rois-with-RoiManager-in-plugin-tp3689085p3689089.html
----- Original Message ----
> maybe you have two instances of RoiManager, the "standard" one and the one
> created as 'rm'?
>
> My solution would be
> RoiManager rm = RoiManager.getInstance();
> after the particle analyzer has created a RoiManager.
That worked, thank you!
In general, do ImageJ classes make their own instances of other classes that they need?
Does MaximumFinder make its own ResultsTable instance, as well? One of the options to MaximumFinder is 'COUNT' which says that it it simply writes the number of maxima to ResultsTable. I have not been able to get this to work, either. I'm wondering if it is for a similar reason.
Adam