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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

vischer
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
Reply | Threaded
Open this post in threaded view
|

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

Rasband, Wayne (NIH/NIMH) [E]
> On Nov 21, 2016, at 6:25 PM, Norbert Vischer <[hidden email]> wrote:
>
> 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?

This is an ImageJ 1.50 regression is fixed in the latest daily build (1.51i4).

-wayne

> 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