I found the solution
opencv has floodfill.
if you have issues with non-binary values on the borders, work with masks and dilate instead.
if filling isn’t what you want, you should look for a word that does describe your intent.
I found the solution
opencv has floodfill.
if you have issues with non-binary values on the borders, work with masks and dilate instead.
if filling isn’t what you want, you should look for a word that does describe your intent.