1 | initial version |
Thanks guys! I think I will use floodfill for really small blobs where precision is important to me and findContours for the larger ones. This twofold solution may not be elegant, but it is precise enough for me, it's reasonably fast and above all very easy to implement!