I'm working on a project where I want to run simple blob detection, but only on areas inside a contour. I know contours can return bounding rectangles or circles, but I don't see how to limit a simple blob detection to the area inside that contour.
Any thoughts? I'm stuck.
What I am trying to say is that, consider you want to perform blob detection for a certain region of interest (ROI) on an image, but you also want to keep the image.
ZdaR's comment helps if you want that ROI area alone.
My suggestion would be: