I tried many ways but it didn't remove the black dot inside the white. How do I get it off white?
CodePudding user response:
Since I'm not sure what you've tried already, I would recommend looking into contiguous thresholding or open contours as in this answer.