Flood Fill

Flood Fill

Flood fill, also called seed fill, is an algorithm that determines the area connected to a given node in a multi-dimensional array. It is used in the "bucket" fill tool of paint programs to determine which parts of a bitmap to fill with color, and in games such as Go and Minesweeper for determining which pieces are cleared. When applied on an image to fill a particular bounded area with color, it is also known as boundary fill.

Read more about Flood Fill:  The Algorithm, Fixed Memory Method (right-hand Fill Method), Scanline Fill, Vector Implementations, Large Scale Behaviour

Famous quotes containing the words flood and/or fill:

    Hearing the low sound
    of a cloud scattering rain
    at midnight
    and thinking for an eternity
    on his absent young wife,
    a traveller heaved a sigh
    and with a flood of tears
    howled the whole night long.
    Now, villagers won’t let him stay
    in their place anymore.
    Amaru (c. seventh century A.D.)

    I fear all we have done is to awaken a sleeping giant and fill him with a terrible resolve.
    Larry Forrester, U.S. screenwriter, Hideo Oguni, and Ryuzo Kikushima. Richard Fleischer, Toshio Masuda, Kinji Fukasaku. Admiral Yamamoto (Soh Yamamura)