creating a multipoint selection - problem

Posted by Jeremy Adler on
URL: http://imagej.273.s1.nabble.com/creating-a-multipoint-selection-problem-tp5022326.html

The makeSelection(type,xcoord,ycoord) command fails to create a multipoint selection.
The code below is happy to create a segment line(type 6) but changing the type to a 10 (point) fails.

However an earlier version of ImageJ 1.51k - allows the creation of type10 multipoint selection.

roiManager("reset");
xArray=newArray(10,20,30,40,50,60);
yArray=newArray(40,90,120,7,55,56);
makeSelection(6, xArray, yArray);//segmented line
roiManager("Add");

makeSelection(10, xArray, yArray);//point
roiManager("Add");











När du har kontakt med oss på Uppsala universitet med e-post så innebär det att vi behandlar dina personuppgifter. För att läsa mer om hur vi gör det kan du läsa här: http://www.uu.se/om-uu/dataskydd-personuppgifter/

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: http://www.uu.se/en/about-uu/data-protection-policy

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html