Flood-Fill Algorithm

The user speciies an interior color to be replaced by fill color (use 4 or 8 fill method). The process stops when no adjacent pixels are of interior color, e.g., replace white with blue.

But, even worse for overlapping polygons Same result as before, but no cure. In general the Scan Conversion method is the most versatile.

 

Solid Polygon menu
HyperGraph Table of Contents.
HyperGraph Home page.

Last changed May 13, 1998, G. Scott Owen, owen@siggraph.org