Login  Register

ROI Property not consistent (-depends on single/multiple point)

Posted by vischer on Nov 21, 2016; 11:25pm
URL: http://imagej.273.s1.nabble.com/ROI-Property-not-consistent-depends-on-single-multiple-point-tp5017609.html

I am having the problem that assigning a ROI property depends on which of the two point tool options (single or multiple) happens to be active.

The macro below simulates this: two points with same property are created, but they look different  because half-way I switched from single to multiple.

If this intended? And if yes, is it possible to set the point tool to "single" without deactivating the currently selected tool?

Norbert



close("abc");
newImage("abc", "8-bit white", 512, 512, 1);

roiManager("reset");
setTool("point");
makePoint(50,50);
run("Properties... ", "name=Center  stroke=magenta point=Dot size=Medium");
roiManager("add");


setTool("multipoint");
makePoint(100, 50);
run("Properties... ", "name=Center  stroke=magenta point=Dot size=Medium");
roiManager("add");
run("Select None");
roiManager("Show All without labels");

//Points look different
//ImageJ 1.51h; Java 1.8.0_101 [64-bit]; Mac OS X 10.10.5; 22MB of 7000MB (<1%)
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html