getCoordinates(x, y) from multipoint

Posted by SB_Panda on
URL: http://imagej.273.s1.nabble.com/getCoordinates-x-y-from-multipoint-tp5007970.html

Hello,

I'm just writing a RegionGrowingFilter and want select the seedPoints with the multi-point tool. We should integrate it in a Pluginfilter. How can I read out the x,y coordinate of the Points. At the moment I get the inputs manually: e.g.:

int sx1 = 75;
int sy1 = 150;
ipResult.putPixel(sx1, sy1, ip.getPixel(sx1,sy1));

Thanks for your help
Greets

Simon