Class: QgsSlopeFilter

class qgis.analysis.QgsSlopeFilter

Bases: QgsDerivativeFilter

Calculates slope values in a window of 3x3 cells based on first order derivatives in x- and y- directions.

Methods

calcFirstDerX

Calculates the first order derivative in x-direction according to Horn (1981)

calcFirstDerY

Calculates the first order derivative in y-direction according to Horn (1981)

processNineCellWindow

rtype

Tuple[float, float, float, float, float, float, float, float, float, float]

calcFirstDerX(self)Tuple[float, float, float, float, float, float, float, float, float, float]

Calculates the first order derivative in x-direction according to Horn (1981)

calcFirstDerY(self)Tuple[float, float, float, float, float, float, float, float, float, float]

Calculates the first order derivative in y-direction according to Horn (1981)

processNineCellWindow(self)Tuple[float, float, float, float, float, float, float, float, float, float]
Return type

Tuple[float, float, float, float, float, float, float, float, float, float]