We propose a novel scribble-based weakly supervised deep learning approach (called ScRoadExtractor) for road surface extraction from remote sensing images under the weak supervision of centerline-like scribble annotations.
At present, very few works have explored weakly supervised semantic segmentation for extracting road surfaces from remote sensing images. Our method is a step on a journey that will ultimately bring us closer to automatic road extraction from remote sensing images with very little manual annotating required.
If you find it is helpful in your research, cite our paper (Wei, Y., & Ji, S. Scribble-Based Weakly Supervised Deep Learning for Road Surface Extraction from Remote Sensing Images. IEEE Transactions on Geoscience and Remote Sensing 2021). Please note that the code can be used in any academic study however the commercial application is not allowed as the system is protected by a Chinese Patent with Number 202010771919.6 as well as a software copyright with Number 2020SR1190370.
Download the network code. Click HERE to Download
The scribbles can be obtained from OpenStreetMap centerlines, GPS traces, or manually annotation through ArcGIS or other software. Also, you can generate skeletonized road lines by thinning road segmentation maps (skimage.morphology.thin).
With respect to the implementation of HED Boundary detector, you can refer to the folder boundary_detect. To generate HED masks, download the pre-trained model [network-bsds500.pytorch] by download.bash and run boundary_detect/run.py. We also provide the pre-trained model [network-bsds500.pytorch] using the link below. https://pan.baidu.com/s/1AMNnmo7YAk1X3_m8Ky1arw (pwd:0HED)
Run road_label_propagation.py to derive proposal masks.
Run DBNet/train.py for training and run DBNet/test.py for testing.
Modify the parameters before running. More details, please contact weiyao@whu.edu.cn.