1 - Generate DHM#
Algorithm ID: hedgetools:generatedhm
This tool generates a Digital Height Model (DHM) from a Digital Terrain Model (DTM) and a Digital Surface Model (DSM).
The Digital Height Model (DHM) represents the height of objects above the ground surface, such as trees or buildings.
The binary mask will be used to generate the tree cover layer in Generate Tree Cover.
The DHM output can be used to generate additional binary masks with the Raster Calculator or within HedgeTools metrics, such as Strata Proportion.
Parameters#
Label |
Name |
Type |
Description |
|---|---|---|---|
Input DTM |
|
[raster] |
Digital Terrain Model describing the ground elevation including obstacles (trees, buildings, etc.) |
DTM elevation band |
|
[raster band] |
Elevation band of the DTM raster in case of multiband |
Input DSM |
|
[raster] |
Digital Surface Model describing the ground elevation without obstacles |
DSM elevation band |
|
[raster band] |
Elevation band of the DSM raster in case of multiband |
Extent of the study area |
|
[extent] |
Input extent from a layer, canvas, or other source to clip the rasters |
Height value threshold (DHM mask) |
|
[numeric: double] |
Height threshold for the binary mask of DHM, used to generate tree cover |
Handling of extent differences |
|
[enumeration] |
Determines how the tool handles differing DSM and DTM extents:
|
Output resolution (meters) |
|
[numeric: double] |
Change the output raster resolution to the desired value. |
Resampling method |
|
[enumeration] |
Resampling method for output resolution:
|
Output DHM |
|
[raster] |
Output raster. |
Output mask |
|
[raster] |
Output raster. |
Warning
A lower height value threshold can introduce significant noise from tall crops, such as maize or sunflower, and may cause errors when creating the topological polygon. However, it can also help retain hedges with mainly bushes.
Warning
The output resolution of your mask should match the resolution used in Generate NDVI. You can set this using the Output Resolution parameter.
Typical resampling methods are Average for downsampling and Nearest Neighbour for upsampling.
Outputs#
Label |
Name |
Type |
Description |
|---|---|---|---|
Output DHM |
|
[raster] |
Digital Height Model representing the height of objects above ground. |
Output mask |
|
[raster] |
Binary DHM mask where values above the threshold are set to 1. |