Flood Fill Functions
- 4 neighbors (except diagonal neighbors); this kind of connectivity is called 4-connectivity and the corresponding function name includes4Con, or
- 8 neighbors (diagonal neighbors included); this kind of connectivity is called 8-connectivity and the corresponding function name includes8Con.
- segmenting a grayscale image into a set of uni-color areas,
- marking each connected component with individual color for bi-level images.