Creates a matrix
with where a circular pattern is filled with values of 1
and the remaining cells are filled with values of 0
(see Examples).
w_circle(k)
Neighborhood size around focal cell. Must be an odd number. For example, k=3
implies a 3*3 neighborhood.
A matrix
with a circular pattern.