flood_fill

flood fills logical 1s into an array, not using recursion
3 Downloads
Updated 1 Oct 2022

View License

M = flood_fill(A,c)
returns array A after replacing position c by '1' flooding to all connected '0's

Cite As

Marcus Schwenk (2024). flood_fill (https://www.mathworks.com/matlabcentral/fileexchange/118340-flood_fill), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

updates Summary

1.0.0