Coordinate overlap in two labelled images

Stuart Mumford littlemumford at gmail.com
Tue Apr 2 13:04:07 EDT 2013


Hello,

I have a problem I was hoping someone here would be able to help me with!

I am using your (amazingly fast) label image routines and regionprops to 
extract the coordinates of the regions in two images. I need to filter 
these objects out if they do not overlap in both the images, then renumber 
all the remaining regions. At the moment I am doing something unspeakable 
with nested loops and sets which is pretty damn slow; I was hoping someone 
here would have a really clever idea on how to solve this. Failing that 
does anyone know how I can find the number of coordinates (output from 
regionprops) that overlap in two numpy arrays?

Thanks a lot
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20130402/b7c163c4/attachment.html>


More information about the scikit-image mailing list