Re: creating a multipoint selection - problem

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

A far as I can see you have to use

makeSelection("point", xArray, yArray);

Best wishes

Kees


Dr Ir K.R. Straatman
Senior Experimental Officer
Advanced Imaging Facility
Centre for Core Biotechnology Services
University of Leicester
www.le.ac.uk/advanced-imaging-facility



-----Original Message-----
From: Jeremy Adler <[hidden email]>
Sent: 17 July 2019 10:28
To: [hidden email]
Subject: creating a multipoint selection - problem

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: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.uu.se%2Fom-uu%2Fdataskydd-personuppgifter%2F&amp;data=02%7C01%7Ckrs5%40leicester.ac.uk%7C26a23a2e7d0949fd9d3208d70a9924b8%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C636989525200967807&amp;sdata=s7yO3Q5yK%2Fm0PDrgyC5VZYPDR6eAe1E4rCy0peEvGK8%3D&amp;reserved=0

E-mailing Uppsala University means that we will process your personal data. For more information on how this is performed, please read here: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.uu.se%2Fen%2Fabout-uu%2Fdata-protection-policy&amp;data=02%7C01%7Ckrs5%40leicester.ac.uk%7C26a23a2e7d0949fd9d3208d70a9924b8%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C636989525200977802&amp;sdata=LcXyUVtQ66oerim%2FVfhTccTHPQDw%2B%2BcY4d9fOT4mtbY%3D&amp;reserved=0

--
ImageJ mailing list: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fimagej.nih.gov%2Fij%2Flist.html&amp;data=02%7C01%7Ckrs5%40leicester.ac.uk%7C26a23a2e7d0949fd9d3208d70a9924b8%7Caebecd6a31d44b0195ce8274afe853d9%7C0%7C0%7C636989525200977802&amp;sdata=rdCXa9TkjWmTCwDJnVPUPIncInXziRv1dtTPAWOpfiU%3D&amp;reserved=0

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