GithubHelp home page GithubHelp logo

thuleef / dne Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 23.85 MB

Drainage Network Extraction Program with Channel Head Detection

C++ 100.00%
drainage-network-extraction geosciences channel-head change-point-detection tsinghua-university

dne's Introduction

Tsinghua DNE (Drainage Network Extraction) Program with Channel Head Detection

This program is used for drainage network extraction from DEM data, based on the least-cost-search algorithm realized using a size-balanced-binary-tree (see the reference below) to speed-up computation, improved with a channel head recognition method using a geomorphologic change point detection algorithm to provide an alternative for the existing Critical-Sourcing-Area (CSA) method (see publication: Li J, Li T, Zhang L, et al. A D8-compatible high-efficient channel head recognition method. Environmental Modelling and Software, 2020, 125:104624).

The program is completed by the team led by Prof. Guangqian Wang at the State Key Laboratory of Hydroscience and Engineering and also the Department of Hydraulic Engineering in Tsinghua University. The copyright of this program belongs to Tsinghua University. The program and source code is allowed for scientific research, but is not allowed for commercial activities without permission.

The core program was completed by Rui Bai in year 2014, through using the size balanced binary tree to speed-up the extraction of drainage networks based on the state-of-the-art least-cost-search method (see publication: Bai R, Li T, Huang Y, et al. An efficient and comprehensive method for drainage network extraction from DEM with billions of pixels using a size - balanced binary search tree. Geomorphology, 2015, 238:56-67).

Jiaye Li et al. proposed a channel head recognition method using geomorphologic change point detection algorithm to improve the accuracy of drainage network extraction, which aims to provide an alternative for the traditional CSA method, and is submitted to the journal of Environmental Modelling & Software for the consideration of publication. The source code of this work is incorporated with Bai's existing program, which are provided here together.

Rui Bai won his PhD degree in year 2015, and now works in Chengdu Engineering Corporation Limited of Power China. Jiaye Li is currently a Post-doctoral in Tsinghua University. The directors of their work are Associate Professor Tiejian Li and Professor Yuefei Huang.

The program is coded in C++ language. This uploaded project (in the /DNE folder) was created by Microsoft Visual Studio 2015, and some Microsoft library functions are used. If a user needs to use the source code in other environments, some minor alterations should be made.

Contacts

Author Rui Bai Jiaye Li
E-mail [email protected] [email protected]
Author Tiejian Li Yuefei Huang
E-mail [email protected] [email protected]

Usage

A compiled Windows exe file can be found in the /Sample folder. The program runs in the command line mode. There are five input parameters in all, including the compulsory DEM_data_file_path and four optional parameters that must be provided together.

DNE.exe DEM_data_file_path [Critical_A_Sq_S Critical_A_over_Sq_L Window_Shift_Proportion Confidence_p_Value]

examples:
DNE.exe Sample.tif
DNE.exe Sample.tif 600 0.2 0.25 0.05

The program will create a folder named same as the inputted DEM file and save the result file in it. Both of the input DEM and result data are in the uncompressed TIFF format, the samples can be found in the /Sample folder, and is shown as follows.

# Input & Output Figures
1 Input: DEM data (.tif file, uncompressed format) DEM data
2 Output: Channel Mark (.tif file, uncompressed format) Channel Mark

Notice

The input DEM data should have no depression in this program. We are still working with the depression-filling and depression-over-topping methods, but the codes are not provided at the current stage. For those who are interested in this topic, please see the aforementioned publication or contact us.

We can also create the GIS feature result and calculate the geometric properties of river reaches in the drainage networks, see another paper (Bai R, Li T, Huang Y, et al. A hierarchical pyramid method for managing large-scale high-resolution drainage networks extracted from DEM. Computers & Geosciences, 2015, 85(PA):234-247) for reference or contact us for more details.

dne's People

Contributors

thuleef avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.