37 float* x12,
float* x22,
float* x32,
float* x13,
float* x23,
float* x33 )
61 sum += ( *x11 - *x22 ) * ( *x11 - *x22 );
65 sum += ( *x21 - *x22 ) * ( *x21 - *x22 );
69 sum += ( *x31 - *x22 ) * ( *x31 - *x22 );
73 sum += ( *x12 - *x22 ) * ( *x12 - *x22 );
77 sum += ( *x32 - *x22 ) * ( *x32 - *x22 );
81 sum += ( *x13 - *x22 ) * ( *x13 - *x22 );
85 sum += ( *x23 - *x22 ) * ( *x23 - *x22 );
89 sum += ( *x33 - *x22 ) * ( *x33 - *x22 );
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.
QgsRuggednessFilter(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.
Base class for raster analysis methods that work with a 3x3 cell filter and calculate the value of ea...