How do I select a blob(s) from a binary image that overlap with with subscript values and having a conncectivity of 8

asked 2020-02-06 14:40:03 -0500

Mighty gravatar image

How do I select a blob(s) from a binary image that overlap with with subscript values and having a conncectivity of 8? This would be equivalent to matlab's function "bwselect(bw ,c ,r, n)". This function selects objects in a binary image containing the objects that overlap the pixel (r, c), where r and c are both vectors. n is either 4 or 8 which indicates the connectivity. eg. a value of 4 would mean 4- connected objects.

Thanks!

edit retag flag offensive close merge delete