Modules for Joint semantic segmentation and single-view DHM estimation on satellite imagery.
331
Takes an 8-band MSI or 3-channel RGB or both as input and produce either DHM estimate or segmentation estimate (ground, building, tree, water, road) or both jointly. In case DHM is already known, there is another model provided that takes all 3 modalities (RGB, MSI and DHM) as input and outputs a segmentation estimate. Refer to the GRSS data page for information on how semantic classes are labelled.
In total, the following 8 modules are provided:
msi_to_agl: Takes MSI as input and produces DHM estimate.msi_to_cls: Takes MSI as input and produces Segmentation estimate.rgb_to_agl: Takes RGB as input and produces DHM estimate.rgb_to_cls: Takes RGB as input and produces Segmentation estimate.rgb_msi_to_agl: Takes RGB and MSI as input and produces DHM estimate.rgb_msi_to_cls: Takes RGB and MSI as input and produces Segmentation estimate.rgb_msi_agl_to_cls: Takes RGB, MSI and DHM as input and produces Segmentation estimate.rgb_msi_to_agl_cls: Takes RGB and MSI as input and jointly estimates DHM and Segmentation labels.This is all achieved using an end-to-end DCNN based on RBDN, that is trained on the GRSS dataset.
Modify params.py and do python run_model.py.
Modify TEST_DIR in params.py to point to a folder containing the desired inputs.
Modify OUTPUT_DIR to point to where you want to save the relevant outputs.
The default module is the joint-estimation model rgb_msi_to_agl_cls. Look at run_model.py
for examples on how to change this to any other module.
Run python run_model.py without any arguments to process the example images in the inputs folder,
using each of the 8 modules provided. Check the results folder to see if the outputs match the
ones in the results/expected folder.
Content type
Image
Digest
Size
3.4 GB
Last updated
over 6 years ago
docker pull venkai/joint-seg-dhm