Rdocumentation
powered by
Learn R Programming
ocean (version 0.2-4)
filter2d: Applies a 2d Gaussian filter to
mat
with a standard deviation of r cells.
Description
Applies a Gaussian blur to a 2D matrix. The matrix is first convoluted with the filter along rows, then along columns.
Usage
filter2d(mat, r)
Arguments
mat
The matrix to filter.
r
The standard deviation of the filter in matrix cells.