Rule-based roof vertex detection from ALS point clouds.
Code repository of Detecting vertices of building roofs from ALS point cloud data
.
|- config # config files.
|- sampled_roof_50.txt # the .txt file which includes the roof list will be considered.
|- Data
|- las-singleroof-50 # point clouds of 50 sampled roofs
|- las-singleroof-GT # ground truth of 3D roof structures.
|- res # result output folder
|- utils # utilities to support the main function.
|- main_RoofV_det.py # main script to detect roof vertices.
|- eval_NoOver.py # evaluation script
|- README.md
|- requirements.txt
For detecting roof vertices:
use through IDE by running main_RoofV_det.py
For evaluation:
use through IDE by running eval_NoOver.py
The following requirements are necessary for this repository
- scipy
- sklearn
- laspy
- open3d
- shapely
- alphashape
- opencv-python
- triangle
Other potential requirements can be found in requirements.txt or according to the compilation errors.
For speeding up the download of source codes, the data is provided separately via Google drive
The experimental result on the provided custom dataset is also available through the same link.