<div dir="ltr"><div><div><div><div><div><div><div>Dear everyone,<br><br></div>I'm trying to calculate the statistics of a an overlay for the active display.<br></div>I try to use the PointSet but it doesn't work. The thread is just blocked :<br><br></div><div>public double getMean(ImageDisplay imageDisplay, Overlay overlay) {<br></div>     final PointSet ps = new RoiPointSet(overlay.getRegionOfInterest());<br></div>     return (double) opService.mean(ps);<br>}<br><br></div>The PointSet API seems to be deprecated and when I dig into the Ops code, it seems that the statistic function just accept an iterable. From what I understood, PointSet are set of coordinates inside the image. I guess I need to associate the coordinates to a dataset and get an Iterable/Function out of it. Is there a service that already does this ? Or is it the wrong approach ?<br><br></div>Cheers,<br><br></div>Cyril<br></div>