
Technical CSM @ Parallel Domain | ex-Ubisoft | ex-Robert Bosch
Home
Flood Fill
Github Link: https://github.com/KaiTaiTong/floodfill
This image processing tool enables users to fill a bounded region in an input image by selected
pattern. Two approaches have been used to implement this flood fill algorithm, namely
breadth-first-search (BFS) and depth-first-search (DFS).
Below is a demo on two sample images with different patterns to fill.
BFS border | DFS border |
---|---|
![]() |
![]() |
BFS transform | DFS transform |
---|---|
![]() |
![]() |
For more detailed information, please contact me directly.