I was thinking I'd have to write a filter to ignore blobs that touch the edge of an image, but I did some testing and it seems like they're ignored anyway. Is this a feature of the SimpleBlobDetector algorithm that I can rely on or an implementation detail that I shouldn't assume will always work this way?
Blobs:
Detected blobs: