The pseudocode in the (slightly redacted) linked image is implementing what algorithm?
Click for additional information
flood-fill