36 sum += ( *x31 - *x11 );
41 sum += ( *x21 - *x11 );
46 sum += ( *x31 - *x21 );
53 sum += 2 * ( *x32 - *x12 );
58 sum += 2 * ( *x22 - *x12 );
63 sum += 2 * ( *x32 - *x22 );
70 sum += ( *x33 - *x13 );
75 sum += ( *x23 - *x13 );
80 sum += ( *x33 - *x23 );
103 sum += ( *x11 - *x13 );
108 sum += ( *x12 - *x13 );
113 sum += ( *x11 - *x12 );
120 sum += 2 * ( *x21 - *x23 );
125 sum += 2 * ( *x22 - *x23 );
130 sum += 2 * ( *x21 - *x22 );
137 sum += ( *x31 - *x33 );
142 sum += ( *x32 - *x33 );
147 sum += ( *x31 - *x32 );
QgsDerivativeFilter(const QString &inputFile, const QString &outputFile, const QString &outputFormat)
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)
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)
Base class for raster analysis methods that work with a 3x3 cell filter and calculate the value of ea...
float mInputNodataValue
The nodata value of the input layer.
float mOutputNodataValue
The nodata value of the output layer.
double mZFactor
Scale factor for z-value if x-/y- units are different to z-units (111120 for degree->meters and 37040...