diff options
Diffstat (limited to 'include/lib/algo/flood_fill.h')
-rw-r--r-- | include/lib/algo/flood_fill.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lib/algo/flood_fill.h b/include/lib/algo/flood_fill.h index 81ed6fd..e9872eb 100644 --- a/include/lib/algo/flood_fill.h +++ b/include/lib/algo/flood_fill.h @@ -3,6 +3,7 @@ #include <lib/bool.h> #include <lib/color.h> +#include <lib/data/image_types.h> #include <stddef.h> #include <stdint.h> @@ -14,6 +15,6 @@ // 4. Check if the (x,y) coordinate in the image is the same color as the fill color // 5. If all hold, set the label for the pixel, and check each neighbor // Otherwise, stop flooding -bool_t flood(uint8_t* image, uint16_t* mask, size_t width, size_t height, size_t channels, size_t x, size_t y, uint8_t* fill_color, uint16_t label); +bool_t flood(ImageData_t* image, ImageMaskData_t* mask, size_t width, size_t height, size_t channels, size_t x, size_t y, ImageData_t* fill_color, ImageMaskData_t label); #endif |