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:

    Men hold themselves cheap and vile; and yet a man is a fagot of thunderbolts. All the elements pour through his system: he is the flood of the flood, and fire of the fire; he feels the antipodes and the pole, as drops of his blood: they are the extension of his personality.
    Ralph Waldo Emerson (1803–1882)

    Hast ever ben in Omaha
    Where rolls the dark Missouri down,
    Where four strong horses scarce can draw
    An empty wagon through the town?
    Where sand is blown from every mound
    To fill your eyes and ears and throat;
    Where all the steamboats are aground,
    And all the houses are afloat?...
    If not, take heed to what I say,
    You’ll find it just as I have found it;
    And if it lies upon your way
    For God’s sake, reader, go around it!
    —For the State of Nebraska, U.S. public relief program (1935-1943)