I have some pixels which representing already a convex hull, now I looking for a way to calculate these pixels to fill the convex hull. Is there any algorithm or idea which I should look at?
Asked
Active
Viewed 121 times
0
-
So you already have the convex hull, but you need a fill algorithm? – Timothy Groote Sep 08 '15 at 08:04
-
I assume you already have the convex hull in a bitmap then? – Timothy Groote Sep 08 '15 at 08:07
-
Yes, that's right, but not directly in a bitmap. – dot Sep 08 '15 at 08:07
-
1In that case, a simple search should have told you more than enough about flood fill algorithms and how to implement them. take a look at http://rosettacode.org/wiki/Bitmap/Flood_fill – Timothy Groote Sep 08 '15 at 08:09