flood_fill

flood fills logical 1s into an array, not using recursion

You are now following this Submission

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

Cite As

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

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

updates Summary

1.0.0