Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 423 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 423 Bytes

FloodFill

This code implements the priority-flood flood-fill Algorithm no. 2 described in article:Barnes, Lehman, Mulla. "Priority-Flood: An Optimal Depression-Filling and Watershed-Labeling Algorithm for Digital Elevation Models". Computers & Geosciences. Vol 62, Jan 2014, pp. 117–127, doi: 10.1016/j.cageo.2013.04.024.

To compile, type "cmake ." and then make

Usage: ./FloodFill -i input-image -o output-image