GeomorphonMaximaFinder¶
GeomorphonMaximaFinder finds the tops of the trees as the peaks of the surface model, classified into landforms by Geomorphon: a crown is a small hill, and its top is the highest cell of its peak. The tops keep their height over the ground. Unlike RasterMaximaFinder, it has no threshold on the height: the bumps of the ground and of the shrubs are peaks too.
Details¶
The surface model is classified into geomorphons, as by Geomorphon, with the given radius and flatness angle, and the tops are searched among its peaks:
the cells of a peak that touch each other are one peak, and its top is the cell with the largest height over the ground;
a peak of a single cell is discarded if it has more than two neighbours without height, or both a pit and a valley among its 8 neighbouring geomorphons;
the top is discarded if a cell of the 3 x 3 around it has no height, or if their heights span more than the elevation difference threshold.
The heights over the ground are the difference of the surface and the elevation model, which must have the same grid. The cells on the border of the raster are never tops. The threshold of the elevation difference is to tune with the resolution: in cells of 0.5 m the heights of a crown easily differ by more than a meter around its top, so that a threshold of 1 m keeps only the flattest tops. There is no threshold on the height: the peaks of the ground and of the shrubs are tops too.
Parameters¶
Finds the tops of the trees as the peaks of the geomorphons of a surface model.
Toolbox folder: Lesto › vegetation
Status: Experimental
Keywords: raster, maxima, geomorphon
Authors: Andrea Antonello, Silvia Franceschi
Class: org.hortonmachine.modules.GeomorphonMaximaFinder
Inputs
Parameter |
Type |
Unit |
Default |
Description |
|---|---|---|---|---|
|
raster file |
The elevation model of the ground, on the grid of the surface model. |
||
|
raster file |
The surface model, as the highest points of each cell. |
||
|
double |
m |
|
The search radius of the geomorphons: about the size of the crowns to recognize. |
|
double |
degree |
|
The flatness angle of the geomorphons: the terrain within it from the line of sight is level. |
|
double |
m |
|
The largest difference of the heights over the ground in the 3 x 3 cells around a top: steeper tops are discarded. |
Outputs
Parameter |
Type |
Unit |
Description |
|---|---|---|---|
|
output file |
The tops, with an id and their height over the ground (elev). |
References
Jasiewicz, J., Stepinski, T. F. (2013). Geomorphons - a pattern recognition approach to classification and mapping of landforms. Geomorphology, 182, 147-156.
Example¶
The tops of the surface of the highest points of LasOnRasterMapper, with geomorphons of 3 m, discarding the tops whose heights span more than 5 m in the cells around them:
import org.hortonmachine.modules.GeomorphonMaximaFinder
// the folder with the lidar survey: change it to yours
var folder = "/data/flanginec/"
// the tops of the trees as the peaks of the geomorphons of the surface of LasOnRasterMapper
var finder = new GeomorphonMaximaFinder()
finder.inDSM = folder + "dsm_max.tif"
finder.inDTM = folder + "dtm_777.tif"
finder.pRadius = 3.0
finder.pThreshold = 1.0
finder.pElevDiffThres = 5.0
finder.outMaxima = folder + "tops_geomorphon.shp"
finder.process()
The 108 tops, red dots, over the canopy height model in green: most crowns have a top, the taller ones near their center, and some tops are on the open ground between the trees.¶
With the default threshold of 1 m on the heights around a top, only 3 tops are left on this survey of 0.5 m cells.