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:

    Twilight and evening bell.
    And after that the dark!
    And may there be no sadness of farewell,
    When I embark;

    For though from out our bourne of Time and Place
    The flood may bear me far,
    I hope to see my Pilot face to face
    When I have crossed the bar.
    Alfred Tennyson (1809–1892)

    “The room’s very hot, with all this crowd,” the Professor said to Sylvie. “I wonder why they don’t put some lumps of ice in the grate? You fill it with lumps of coal in the winter, you know, and you sit round it and enjoy the warmth. How jolly it would be to fill it now with lumps of ice, and sit round it and enjoy the coolth!”
    Lewis Carroll [Charles Lutwidge Dodgson] (1832–1898)