This repo is an extention of my other repo sea-level-rise-sim. Along with DSM (Digital Surface Model), it also requires a corresponding ortho image.
Example 1 - Under construction student housing at IIT Gandhinagar
I collected the data in 2019 using a DJI Phantom 3 Advanced. I used Agisoft PhotoScan to generate the ortho image and the DSM. However, a very good open source alternative is Open Drone Map. The ortho image (GSD = 1.8 cm) can be found here, and the DSM (GSD = 3.6 cm) can be found here.
Example 2 - Under construction Research Park at IIT Gandhinagar
Run main.py and pass the paths and parameters as arguments
Example: python main.py --dsm sample_data/sample_dsm.tif --rgb sample_data/sample_rgb_ortho.tif
Example with parameters: python main.py --dsm sample_data/sample_dsm.tif --rgb sample_data/sample_rgb_ortho.tif --num_processes 2 --start_elev 19500 --end_elev 19700 --step_size 5 --gif_duration 20 --opaquenes 0.7