28 float *x11,
float *x21,
float *x31,
29 float *x12,
float *x22,
float *x32,
30 float *x13,
float *x23,
float *x33
33 const float derX =
calcFirstDerX( *x11, *x21, *x31, *x12, *x22, *x32, *x13, *x23, *x33 );
34 const float derY =
calcFirstDerY( *x11, *x21, *x31, *x12, *x22, *x32, *x13, *x23, *x33 );
42 return 180.0 + std::atan2( derX, derY ) * 180.0 / M_PI;
float processNineCellWindow(float *x11, float *x21, float *x31, float *x12, float *x22, float *x32, float *x13, float *x23, float *x33) override
Calculates output value from nine input values.
QgsAspectFilter(const QString &inputFile, const QString &outputFile, const QString &outputFormat)
QgsDerivativeFilter(const QString &inputFile, const QString &outputFile, const QString &outputFormat)
float calcFirstDerY(float x11, float x21, float x31, float x12, float x22, float x32, float x13, float x23, float x33) const
Calculates the first order derivative in y-direction according to Horn (1981).
float calcFirstDerX(float x11, float x21, float x31, float x12, float x22, float x32, float x13, float x23, float x33) const
Calculates the first order derivative in x-direction according to Horn (1981).
double mOutputNodataValue
The nodata value of the output layer.