getSelectionCoordinates() not working properly with automatically generated ROIs

Posted by voidspaces on
URL: http://imagej.273.s1.nabble.com/getSelectionCoordinates-not-working-properly-with-automatically-generated-ROIs-tp5006070.html

Hi everyone

Does anyone know why getSelectionCoordinates(x,y) in my code would return only 4 points' coordinates after creating an oval with makeOval(a,b,c,d)? The resulting 4 points I get are the corners of the oval's bounding rectangle.

If instead I run getSelectionCoordinates(x,y) on an oval selected manually I would get all the coordinates as expected.

Thank you in advance for your help.

Best
Gio