Need help with WebODM settings

Modify and exaggerate the vertical height shown in a DEM processed using WebODM

I am using the latest software that allows WebODM to run on a Windows computer running Windows 10 OS without using Docker. When I generate a Digital Elevation Model, or Ground Elevation Model, I want to map large flat areas without trees or buildings to show depressions in the ground with exaggerated elevation relief. In other words, a small hole in the ground becomes a deeper and wider hole in the fabric of the elevation plane. I also would like to be able to exaggerate the elevation of small vertical features on the surface of the ground.
Is there a setting in WebODM that does this? What are the steps that I must use to to achieve my goal?
Thanks
Geneo24

1 Like

It sounds like using the Raster Calculator and some other geoprocessing tools in QGIS will be best suited for what you’re trying to do.

Are you familiar with QGIS at all?

Saijin:

Thanks for the quick reply.

I actually have QGIS on my computer, but I have not ever successfully used it so I am not sure if it still works properly. I was reading OPEN DRONEMAP The missing Guide and came across SMRF-Threshold on page 99. It seems that by setting this value, the surface model features might be exaggerated so that small depressions or vertical features show up in more detail.

What would be the steps to use QGIS for my need?
Geneo

1 Like

Yep, there are a number of smrf parameters that one can tune, but I’m still exploring/testing what that looks like, so I can’t give good guidance on that at present, unfortunately.

As for a general flow in QGIS, this should get you started:
Raster Calculator, and use a scaling value by multiplying the raster band by a number.

Saijin:
It would be advantageous to stay in WebODM if at all possible, but using QGIS is not out of the question. The learning curve on QGIS seems rather steep. My version does open and I did find Raster Calculator, but how to use it is another question.

Please tell me how one would go about changing the SMRF parameters in WebODM, specifically the SMRF-Threshold value. Keep in mind that I am using the Windows OS version of WebODM without Docker.

Also, how is the best way to get the raster output of WebODM and save it so that it can be imported into WGIS?
Thanks
Geneo

1 Like

SMRF Tuning:
As before, I’m not the most educated in this area yet, and I’m still experimenting with the various parameters and how they react so that I can put that into our documentation.

All I can offer at the moment is a link to our docs:
https://docs.opendronemap.org

And encouragement to keep reading the Missing Guide’s sections on SMRF tuning as it is quite detailed.

Raster Calculator:


You could do something like RASTERNAME * 1.5 to create a 1.5x vertical scaling factor, but it will affect both positive and negative features equally. So, you might need to use the Reclassify tool to separate out “bins” of elevation ranges you want to modify, run the Raster Calculator against them separately, then merge them all again into a compisite…

DEM Export from WebODM:


You can use the Download Assets button in the Task List of WebODM.

I used you documentation https://docs.opendronemap.org

I found SMRF-Threshold documentation and there is not much there as shown below.

Options:

Simple Morphological Filter elevation threshold parameter (meters). Default: 0.5

Learn to edit and help improve this page!

I have no idea what to do next to set the threshold from 0.5 to a lower value as suggested in OpenDrone Map The missing guide.

Gene0

1 Like

If you like to learn gis there’s a great course at Coursera. It’s on ArcGis but it’s very similar and you can use what you learn in QGis. I took it and doesn’t regret it one bit even though I don’t use it that much.

“Geographic Information Systems (GIS) | University of California, David”

1 Like

As for the SMRF documentation being light at the moment, please see this:

To change the smrf values, you’d have to edit the appropriate flag in the processing parameters for your task and re-process the data.

It should be available for editing on both Lightning and local processing nodes.

To add to this, the primary knob to adjust in SMRF is smrf-window. Set it to the largest size feature (in meters) that you want to filter out.

2 Likes

Andreas: Thanks for the pointer to the GIS Course. Yes, I need to take the course and I am investigating it thanks to your very timely tip.
Thank you very much for your time.

Gene024

2 Likes

Knowledge is power!

1 Like

Smathermather: Thank you very much for the advice. Unfortunately, I am not smart enough to use the information as provided.
Where does the adjustment knob live and how do I get there when my WebODM project is open and I am in either 3D or 2D (not sure which one to be in) I opened FILTERS while in 2D but the window and knob are not there.

Please give me another couple of hints.

Thanks
Geneo

1 Like

It’s prior to processing you can set the smrf-window to say 150m and you’ll substantially improve your filtering.

1 Like

Check here, I provided a screenshot:

Saijin: Thank you very much for including the example of how to go in and set SMRF parameters and of course other parameters. A picture is worth a thousand words.

I went in and changed the smrf-threshold from 0.5 to 0.2 and ran a group of images. Then I ran another group of images at a modified threshold of 0.9.

I don’t see much difference in the 2D output image when looking at the 0.9 threshold setting after change from default 0.5… When I set the threshold to 0.2 not much difference from the default value of 0.5.
Can you tell me which of the output products produced by WebODM are those that the changes in smrf-threshold is supposed to show up in? I apparently am not selecting the right product to see the changes when I adjust the threshold value.
As always, thank for the help.
Gene024

1 Like

Thank you for that information. I plan to work with the SMRF-Window function on Thursday. What WebODM product does the change in Window function show up?

Gene

1 Like

Same as the example above:

1 Like

You should see the results in the DEM and related products, so DTM, and DSM. These you’ll see in the top of your Map View if you’ve enabled them for export in your Processing Parameters as Surface Model and Terrain Model.


I wish I had some better guidance for you, but I’m still experimenting with these settings.

Stephen definitely gives solid advice and instruction, so please do try his settings. I’m sure he’ll set you on the right path!

My reading of that is that it is a filter for determining ground and non-ground points, it can’t do the vertical exaggeration you are looking for.

Have you tried loading the output ortho into Google Earth as an overlay, and then setting vertical exaggeration to more than 1? It allows up to 3X vertical scaling, which does make some landscapes look pretty amazing!

1 Like