Login  Register

Re: getSelectionCoordinates() not working properly with automatically generated ROIs

Posted by stephane on Nov 14, 2014; 12:00pm
URL: http://imagej.273.s1.nabble.com/getSelectionCoordinates-not-working-properly-with-automatically-generated-ROIs-tp5006070p5010446.html

Hello Wayne,
I have the same problem with ImageJ1.49k. The problem occurs with a image stack where I made  wand selection on several images and then  interpolate it in roimanager to have a selection on all the images of the stack. Before interpolation each selection I drawn is well described with:
 getSelectionCoordinates(x, y);
     for (i=0; i<x.length; i++)
         print(i+" "+x[i]+" "+y[i]);
However after the interpolation, the same code gives me just 4 points.