Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Extract blobs that intersect between 2 images

In OpenCV, how would I be able to extact all the blobs in image A that collide with the blobs/markers in image B? Is there an easy way? One way I can think of is to use Marker Controlled Watershed Segmentation. I haven't tried/done that before - do I need to label/categorise each marker in image b first? Is there a simpler (and more efficient way) to extract my 'intersection' blobs? Ie, is there an easier way to achieve the 3rd image?

Image A:

image description

Image B:

image description

My desired result is below:

image description