Login  Register

Multiple ROI Display

Posted by David Webster on Nov 14, 2009; 7:45pm
URL: http://imagej.273.s1.nabble.com/Multiple-ROI-Display-tp3690458.html

All,

I have a plugin (Java) that uses oval shaped ROIs to display detected
circles. I use:

RoiManager rm = new RoiManager();
.
.
.
IJ.makeOval(x-r, y-r, 2*r+1,2*r+1);
rm.runCommand( "Add");

To put them into the ROI manager and

rm.runCommand("Combine");

To display them. But when the overlap, the corresponding sections are not
shown. If I go to the menus, I can click the "Show All" in the ROI Manager
window, to get complete circles. But, this doesn't seem to be an option
that I can use with the run runCommand() method. The macro recorder shows
this as a setOption("Show All",true) macro command, and this is what sgows
up if I "create" this as a plugin. But, the compiler can't find it and I
can't find the setOption() method in the API.

Help!!

David Webster