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:
“There are flood and drouth
Over the eyes and in the mouth,
Dead water and dead sand
Contending for the upper hand.
The parched eviscerate soil
Gapes at the vanity of toil,
Laughs without mirth.
This is the death of the earth.”
—T.S. (Thomas Stearns)
“It is the characteristic of great poems that they will yield of their sense in due proportion to the hasty and the deliberate reader. To the practical they will be common sense, and to the wise wisdom; as either the traveler may wet his lips, or an army may fill its water-casks at a full stream.”
—Henry David Thoreau (18171862)