Flood fill
Starting at one grid cell and spreading to every connected cell of the same kind, like paint. It is used to count separate areas such as shelf blocks.
Starting at one grid cell and spreading to every connected cell of the same kind, like paint. It is used to count separate areas such as shelf blocks.