search for: makeyourfilt

Displaying 1 result from an estimated 1 matches for "makeyourfilt".

Did you mean: makeyourfilter
2004 Feb 25
2
circular filter
I try to find a circular filter that I can export to be used in a spatial software. Assuming, we have a matrix, representing 9x9 regularly spaced points with the center point 'filter[5, 5]'. In this example, I want to find a function that weighs all neighbor points within a distance of d=4 units with 1: > filter <- matrix(0, 9, 9) > filter <- function() ... > filter