Class: QgsRuggednessFilter

class qgis.analysis.QgsRuggednessFilter

Bases: qgis._analysis.QgsNineCellFilter

Calculates the ruggedness index based on a 3x3 moving window. Algorithm from Riley et al. 1999: A terrain ruggedness index that quantifies topographic heterogeneity*

Methods

processNineCellWindow Calculates output value from nine input values.

Signals

Attributes

processNineCellWindow(self) → Tuple[float, float, float, float, float, float, float, float, float, float]

Calculates output value from nine input values. The input values and the output value can be equal to the nodata value if not present or outside of the border. Must be implemented by subclasses*