I have two images:
Exuse the different resolution but that's not the point. On the left I have a "large" blob due to a camera reflection. I want to get rid of that blob, so closing the blob. But on the right I have smaller blobs that are valuable information that I need to keep. Both of these image need to undergo the same algorithm. If I use a simple opening the smaller blobs will be gone, too. Is there an easy way to implement this in Python with skimage or/and PIL?
In a perfect world the left image should just create a white circle, where the right image should have the black dots within the white circle. It is okay to change the size of the black dots on the right image.
Here is an image which should describe the problem at the image directly
Ok. So before I answer. I have to tell you that this is a hackish way and has no scientific background.
Since this is a hackish way, I know I should have commented rather answered, but I don't have enough points to comment.