DFDY filter
The DFDY filter is a standard linear filter which works in a 5 by 1 environment. It calculates the first derivative in y-direction (df/dy) per pixel. The values in the matrix are:
-1 |
|
8 |
|
0 |
|
-8 |
|
1 |
Gain factor = 1/12 = 0.0833333
When using the DFDY filter on a DEM:
Tip:
To find the real first derivative (per meter), the output values have to be divided by the pixel size of the map. You can use the MapCalc expression:
DYOUT |
= |
OUTDFDY / PixSize(OUTDFDY) |
See also:
Filter types: gradient or derivative filters (technical information)