Added an basic implementation of floodfill#7
Conversation
|
Hello @ad-si, have you had a chance to review the pr? |
- Remove the target_value == new_value early return: it skipped filling
neighbors that are within threshold but have a different grayscale value
- Rename floodfill.{c,h} to flood_fill.{c,h} to match fcv_flood_fill and
the watershed_segmentation naming convention
- Add regression test for the new_value == seed case
- Make flood fill test failure messages use the ❌ prefix like the rest of
the suite; drop the stray header comment and trailing whitespace
|
Thanks for the PR @dheer-prog — solid first pass. The overflow-checked allocations, NULL guards, 1. Bug: the
|
Hello @ad-si , This is an basic implementation of floodfill that I have created for this library I'll soon add this to cli.c I also added test's for this in test.c, I'll soon add support for mulitple seed points and will also add 8-way directionality