Do Gaussian for the distance matrix.
gaussianBlur(mat, size = 5, sigma = 1, ...)
Arguments
- mat
A matrix.
- size
The kernel size
- sigma
The strength of the blur.
- ...
Not used.
Examples
mat <- matrix(runif(100), 10, 10)
blurred_mat <- gaussianBlur(mat, size = 5, sigma = 1)