AnsweredAssumed Answered

how to create a KERNEL as TXT-file?

Question asked by max1987 on Oct 17, 2012
Latest reply on Jul 11, 2014 by curtvprice
Hi experts ;-)

I want to apply a "focal statistics" tool ("focal range") to an DEM. In this context I would like to create a individual kernel matrix.
The only thing I know about that: the kernel has to be an txt-file. But how should this txt-file look exactly?
Let me specify, what I need:

- the kernel should be square, 7x7 cells
- the central pixel should calculate the RANGE (maximum-value minus minimum-value) of ONLY the edge-cells of the matrix

This picture may illustrate, what I mean...
[ATTACH=CONFIG]18506[/ATTACH]

I would be very grateful, if someone could help me! It would be ideal, if someone could send me an example-txt-file.
Thanks in advance!
Kind regards,
Max

Attachments

Outcomes