Login  Register

Re: imglib2: more efficent alternative to PointSetRegionOfInterest

Posted by ctrueden on Dec 19, 2013; 6:01pm
URL: http://imagej.273.s1.nabble.com/imglib2-more-efficent-alternative-to-PointSetRegionOfInterest-tp5005823p5005949.html

Hi all,

For the archives: please note that Barry replied to this same question on
the fiji-devel mailing list:
https://groups.google.com/d/msg/fiji-devel/MfeRqCEzUe8/nRI71RiTU_kJ

Regards,
Curtis

P.S. to Sara: Please feel free to follow up on fiji-devel if you have any
further questions!


On Thu, Dec 5, 2013 at 9:11 AM, Sara_s <[hidden email]> wrote:

> Hi everyone.
> I'm using a PointSetRegionOfInterest for selecting points above a threshold
> value in an Img.
> The roi is used as a mask so I often need to call the 'contains' method,
> which is resulted to be very slow
> as the roi is composed of a huge number of points. I wonder if there is a
> more efficent alternative.
> What I need is to select all the points above the threshold value and
> perform some operations only on those points
> of the Img, I think that the View class could be a good alternative but I
> don't know how to actually use it with sparse points.
>
> Thanks a lot,
>
> Sara
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html