# Height metrics ```{container} algorithm-id **Algorithm ID**: `hedgetools:heightmetrics` ``` This tool takes a polygon vector layer representing hedges and a Digital Height Model (DHM) and computes descriptive height statistics. ```{admonition} Remark :class: remarque The height statistics reflect the DHM values, which only capture the vegetation canopy and provide no information about the internal structure of the hedge. ``` ## Parameters | Label | Name | Type | Description | |-------|------|------|-------------| | Input polygon layer | `INPUT` | [vector: polygon] | Polygon vector layer representing the hedges. | | Input height raster (DHM) | `RASTER` | [raster] | Digital Height Model representing the height of objects above ground. | | Height band | `BAND` | [raster band]
Default: 1 | Height band of the DHM raster in case of multiband. | | Output height layer | `OUTPUT` | [vector: polygon]
Default: `[Create temporary layer]` | Output polygon vector layer. | ## Outputs | Label | Name | Type | Description | |-------|------|------|-------------| | Output height layer | `OUTPUT` | [vector: polygon] | Polygon vector layer with five new fields: `height_mean` (mean height), `height_median` (median height), `height_min` (minimum height), `height_max` (maximum height), and `height_std` (standard deviation of height). |