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. In order to obtain a View of an Img from a GeneralPointSet I've tried the method Views.interval(sourceImg,generalPointSet), anyway when using the resulting IntervalView as an input Img in the method ImageCombiner.applyOp(..) the output obtained doesn't match.
Thanks a lot,
Sara
--
--
Please avoid top-posting, and please make sure to reply-to-all!
Mailing list web interface: http://groups.google.com/group/fiji-devel
---
You received this message because you are subscribed to the Google Groups "Fiji-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fiji-devel+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.