-
The starting point of the SSR pipeline is
ssr/run_pipeline.py -
The first time
ssr/run_pipeline.pyis executed, it will create a configuration atssr/configs/pipeline.tomlusing the template located atssr/configs/pipeline_template.toml -
Adjust the paths in the config file
ssr/configs/pipeline.toml-
For the executables (
fp = file path,dp = directory path)colmap_vissat_exe_fpmve_apps_dptexrecon_apps_dpgdmr_bin_dpopenmvs_bin_dpcolmap_exe_dp
-
For the reconstruction results (i.e. workspace directories)
workspace_vissat_dpworkspace_ssr_dpmeshlab_temp_dp
-
For the input data uncomment the relevant block in the config (depending on the input dataset)
- Option 1: IARPA MVS3DM dataset
dataset_adapter = "ssr.input_adapters.adapter_MVS3DM"satellite_image_pan_dp=/path/to/spacenet-dataset/Hosted-Datasets/MVS_dataset/WV3/PANsatellite_image_msi_dp=/path/to/spacenet-dataset/Hosted-Datasets/MVS_dataset/WV3/MSI
- Option 2: Data Fusion Contest 2019 (dfc2019) Track 3 dataset
dataset_adapter = "ssr.input_adapters.adapter_DFC2019"satellite_image_rgb_tif_dp = "path/to/input/tif/files"- Note: the dfc2019 Track 3 dataset
contains data for multiple location sites. The SSR pipeline expects
satellite_image_rgb_tif_dpto point to a directory containing a subset of the data belonging to the same location (for exampleJAX_004_*_RGB.tif) - If the relevant
.txtfile fromTrack 3 / Training data / Reference Train-Track3-Truth.zip(for exampleJAX_004_DSM.txt) is placed in the same input directory andul_easting, ul_northing, width, heightare not set, they will be calculated based on the.txtfile.
- Note: the dfc2019 Track 3 dataset
contains data for multiple location sites. The SSR pipeline expects
- Option 1: IARPA MVS3DM dataset
-
-
Adjust the list of
meshing_backendsaccording to the installed MVS / Surface reconstruction libraries- For example, comment
Openmvsinmeshing_backends, if it is not available
- For example, comment
-
Run
ssr/run_pipeline.py -
The final output of the pipeline based on the meshing backends chosen can be found in
workspace_ssr_dp/surface/surface/mve/