Iterator over Roi points anywhere?
Posted by
Burger Wilhelm on
Apr 10, 2016; 2:55pm
URL: http://imagej.273.s1.nabble.com/Iterator-over-Roi-points-anywhere-tp5016087.html
Hello all,
does anyone know of a straight way to enumerate/iterate over all points contained in an (arbitrary) Roi? That is (in Java terms), something like this:
...
Roi roi = im.getRoi();
for (Point p : roi.getContainedPoints()) {
... // process p
}
Any help appreciated!
--Wilhelm
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html