How to automatically generate a Digital Terrain Model (DTM)

 
Video: Watch the instructional video related to DTM:
 
Important: The DTM is significantly improved when the point cloud classification is used: How to generate the point cloud classification.

The Digital Terrain Model (DTM) can be generated:

During processing step 3. DSM, Orthomosaic and Index
After processing step 3. DSM, Orthomosaic and Index

If the point cloud classification is available, a terrain mask is computed based on the classified point groups. Only the Ground and Road Surface groups are preserved in the DTM. To improve the DTM, all the terrain points should be assigned to one of these point groups. To manually move points between the automatically generated point groups, the Edit Densified Point Cloud option can be used: How to edit the point cloud in the rayCloud. If the point cloud classification has not been generated, which is not recommended, all the points are treated as non-terrain points and the DTM is a smoothed version of the DSM.

 
Note: Due to the smoothing nature of the DTM generation algorithm, results are better when the DTM resolution is moderately lower than the resolution of the project. By default, the resolution of the DTM is set to 5x GSD of the project. It is possible to edit it to a higher multiple of the GSD or any value higher than the default one.
 
Note: The DTM interpolation:
  • Takes into account all of the points in the densified point cloud except points that you assign to the Disabled point class.
  • Applies little to no smoothing to points that you assign to the Ground or Road Surface point class.
  • Applies smoothing to points that you assign to the Unclassified, High Vegetation, Building, Human-Made Objects, or any other point class.

 

During processing step 3. DSM, Orthomosaic and Index

1. On the Menu bar, click Process > Processing Options...
2. Select the processing step 3. DSM, Orthomosaic and Index.
3. Select the tab DSM and Orthomosaic.
4. In the section Raster DSM, make sure that the option GeoTIFF and Merge Tiles are selected.
5. Select the tab Additional Outputs.
6. In the section Raster DTM, select the GeoTIFF output file format to generate the DTM.
7. (optional) Select Merge Tiles, to merge the individual tiles and generate the DTM in one file.
8. In the Raster DTM Resolution section, select the resolution of the output file.
9. Click OK.
10. Process step 3. DSM, Orthomosaic and Index.

After processing step 3. DSM, Orthomosaic and Index

1. On the Menu bar, click Process > Generate DTM.

 
Important: If the Raster DSM is not exported or the tiles of the Raster DSM are not merged, the option is grayed out. In this case, generate the DTM while processing step 3. DSM, Orthomosaic and Index as described above.

 

Raster DSM of the center of the city of Lausanne Raster DTM of the center of the city of Lausanne
Was this article helpful?
14 out of 18 found this helpful

Article feedback (for troubleshooting, post here)

9 comments

  • Christian Herrmann

    I did not got the smooth results. In my case that did´nt work very well.
    I still have many artefacts from buildings inside my DEM.
    Shown in the following screenshots. How to solve this problems???
    This is a project which was uploaded to the cloud. follow this Link:

    https://cloud.pix4d.com/pro/project/401184/map?shareToken=147e50d1-452a-4dd8-b388-5bb6ac3041d4

     

     

  • Marco (Pix4D)

    Hallo Christian, 

    During DTM generation, the disabled points are not definitively removed but rather smoothed which can lead sometimes to certain inconsistencies. Besides as the classification is automatic it might need some manual correction.

    That's why sometimes we would recommend to generate the DTM in the same way you do so for the DSM, but assigning all point from all classes, except "Ground" and "Road Surface",  to the class "Disable". This usually leads to better results.
    If you want to preserve some features, you can keep them by assigning them to the class "Ground". Make sure that all the points from features you want to preserve are assign to the correct class.

    Then, when you are happy with your classification, you can launch step 3:

    Make sure that Raster DTM is unchecked:


    One more thing, if you DTM has some holes you can fill them using the "New Surface" tool:

    Make sure that you have check the box "Use for DSM and Triangle Mesh":

    Hope this will you to improve the quality for your DTM.

    Best,

    Edited by Marco (Pix4D)
  • Christian Herrmann

    Thanks o lot

  • Source Zhang

    Hi, Marco:

    We are working in agriculture and trying to create the DTM from point cloud. However, the soil/ground and (short) plants (< 2m) were always grouped in "Unclassified". Our site (as shown below) is not a typical landscape you used to train the classification model. I manually labeled (editted) some of the point cloud as plants (plants as a new group or Disable) and soil/ground, respectively, and run the Point Cloud Classification again. Point cloud belonging to plants were either grounped in ground or road surface, but not grouped as plants or Disable.

    Any suggestion to improve the Point Cloud Classificaiton or DTM accuracy?

    Thank you!

    Source

  • Benoit Filliatre

    In such situation result is much better without classifying

    Would be useful to test in former release (ie before 4 release)

    Regards

  • Mustafa Salim

    Can I generate DTM from DEM??

    Please inform me

  • Beata (Pix4D)

    Yes, of course. Actually you have to ;-) 

    As written in the instruction above:

    Step 3. 

    1. Select the processing step 3. DSMOrthomosaic and Index.
    2. Select the tab DSM and Orthomosaic.
    3. In the section Raster DSM, make sure that the option GeoTIFF and Merge Tiles are selected.
    4. Select the tab Additional Outputs.
    5. In the section Raster DTM, select the GeoTIFF output file format to generate the DTM.

    Remember:

    • The DTM is significantly improved when the point cloud classification is used
    • We recommend the DTM resolution to be at least 5 times the GSD.

    Best

     

  • Francois Badenhorst

    Hi Pix4d team, not sure if this is the appropriate platform but do you consider the DTM and DEM to be the same in the software? My understanding is that a DTM shows breaklines where a DEM does not, so can I use the DTM in stream delineation analyses in GIS software or is this not advisable?
    Thanks

  • Beata (Pix4D)

    Hi Francois,

    Indeed, you should use the DTM output with contour lines in the third party software for the stream delineation analyses as in that case you will analyse just the terrain without other environmental objects such as buildings, vegetation or roads. ;-)

    Best

     

Please sign in to leave a comment.