focal_euclidean_mat_window: focal euclidean distance on a matrix with a given window
Description
focal euclidean distance on a matrix with a given window
Usage
focal_euclidean_mat_window(mat, window)
Value
a matrix with the euclidean distance of each cell to
its neighbours.
Arguments
- mat
a matrix
- window
a numeric matrix (squared)