Skip to content

Tree detection project for Rijkswaterstaat, carried out by the Spinlab (Vrije Universiteit Amsterdam)

License

Notifications You must be signed in to change notification settings

SPINLab/tree-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tree Detection

This repository contains the methodology for detecting the trees in a project carried out for Rijkswaterstaat by the VU.

Set up

conda env create -f environment.yml --name <name>

activate <name>

How to use?

run: python3 main.py

The steps for detecting trees are the following

  1. Read points from the EPT
    1. PDAL filters for
    2. filter based on return number, classification and ground
    3. read points into class
  2. HDBSCAN on XY
    1. assing cluster id
  3. polygonize clusters with convex hull
  4. get points in polygon (for better control over which points to filter in the next clustering step)
  5. kmeans cluster with low number of iterations
    1. assing cluster id
  6. polygonize clusters based on unique combination of the two cluster id's

The code depends on a input dataset developed by Geodan BV. The input dataset is an entwined point tile (EPT) and is replacable. If you wish to use the Geodan EPT, please contact the owner of the repository.

About

Tree detection project for Rijkswaterstaat, carried out by the Spinlab (Vrije Universiteit Amsterdam)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published