QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
37 sum += ( *x31 - *x11 );
42 sum += ( *x21 - *x11 );
47 sum += ( *x31 - *x21 );
54 sum += 2 * ( *x32 - *x12 );
59 sum += 2 * ( *x22 - *x12 );
64 sum += 2 * ( *x32 - *x22 );
71 sum += ( *x33 - *x13 );
76 sum += ( *x23 - *x13 );
81 sum += ( *x33 - *x23 );
104 sum += ( *x11 - *x13 );
109 sum += ( *x12 - *x13 );
114 sum += ( *x11 - *x12 );
121 sum += 2 * ( *x21 - *x23 );
126 sum += 2 * ( *x22 - *x23 );
131 sum += 2 * ( *x21 - *x22 );
138 sum += ( *x31 - *x33 );
143 sum += ( *x32 - *x33 );
148 sum += ( *x31 - *x32 );
float calcFirstDerX(float *x11, float *x21, float *x31, float *x12, float *x22, float *x32, float *x13, float *x23, float *x33)
Calculates the first order derivative in x-direction according to Horn (1981)
Base class for raster analysis methods that work with a 3x3 cell filter and calculate the value of ea...
QgsDerivativeFilter(const QString &inputFile, const QString &outputFile, const QString &outputFormat)
float mOutputNodataValue
The nodata value of the output layer.
float mInputNodataValue
The nodata value of the input layer.
double mZFactor
Scale factor for z-value if x-/y- units are different to z-units (111120 for degree->meters and 37040...
float calcFirstDerY(float *x11, float *x21, float *x31, float *x12, float *x22, float *x32, float *x13, float *x23, float *x33)
Calculates the first order derivative in y-direction according to Horn (1981)