42 sum += ( *x31 - *x11 );
47 sum += ( *x21 - *x11 );
52 sum += ( *x31 - *x21 );
59 sum += 2 * ( *x32 - *x12 );
64 sum += 2 * ( *x22 - *x12 );
69 sum += 2 * ( *x32 - *x22 );
76 sum += ( *x33 - *x13 );
81 sum += ( *x23 - *x13 );
86 sum += ( *x33 - *x23 );
109 sum += ( *x11 - *x13 );
114 sum += ( *x12 - *x13 );
119 sum += ( *x11 - *x12 );
126 sum += 2 * ( *x21 - *x23 );
131 sum += 2 * ( *x22 - *x23 );
136 sum += 2 * ( *x21 - *x22 );
143 sum += ( *x31 - *x33 );
148 sum += ( *x32 - *x33 );
153 sum += ( *x31 - *x32 );
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)
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)
QgsDerivativeFilter(const QString &inputFile, const QString &outputFile, const QString &outputFormat)
virtual ~QgsDerivativeFilter()
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...
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...