tum-gis / citygml-roof-segment-labels

Generate datasets of roof segment labels for aerial imagery derived from CityGML semantic 3D city models for semantic segmentation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CityGML Roof Segment Labels

Generate datasets of roof segment labels for aerial imagery derived from CityGML semantic 3D city models for semantic segmentation as described in [1].

Overview

The file query_segments.sql contains code that can be used to obtain the roof segment geometries and compute their attributes (such as azimuth and slope) from a 3DCityDB instance. The notebook dataset_creation.ipynb provides steps and detailed instructions for the dataset creation (data pre-processing, generation of image and label files, data split). The roof segment geometries for all configurations as used in [1] are available in the subdirectory segments (they were obtained using query_segments.sql and exported to CSV). The locations selected for validation and test sets are located in val_test_locations. To create custom datasets using the code provided here, make sure your data is structured identically to the data in these subdirectories.

The roof segment geometries for the configuration small-manu are sourced from [2].

Cite this repo

To cite this repository, please use this Zenodo DOI.

DOI

References

[1] Faltermeier, F.L.; Krapf, S.; Willenborg, B.; Kolbe, T.H. (2023): Improving Semantic Segmentation of Roof Segments Using Large-Scale Datasets Derived from 3D City Models and High-Resolution Aerial Imagery. Remote Sens. 2023, 15, 1931. https://doi.org/10.3390/rs15071931

[2] Krapf, S.; Bogenrieder, L.; Netzler, F.; Balke, G.; Lienkamp, M. (2022): RID—Roof Information Dataset for Computer Vision-Based Photovoltaic Potential Assessment. Remote Sens. 2022, 14, 2299. https://doi.org/10.3390/rs14102299

About

Generate datasets of roof segment labels for aerial imagery derived from CityGML semantic 3D city models for semantic segmentation.


Languages

Language:Jupyter Notebook 65.2%Language:Python 27.6%Language:PLpgSQL 7.2%