I am building a MM plugin and I would like to know how to access the coordinates of a PointROI using the micro-manager API.
Currently I have the following
ImagePlus ip = WindowManager.getCurrentImage();
ij.gui.PointRoi r = (ij.gui.PointRoi)ip.getRoi();
int[] x = r.getXCoordinates();
int[] y = r.getYCoordinates();
but the values in x and y don’t correspond to my point selection.
Thanks