Description Usage Arguments Value Author(s) Examples
View source: R/GaussianKernel.R
This function generates a Gaussian kernel of desired sizes, which might be useful for spatial and frequency filtering.
1 | GaussianKernel(x, y, s = 20)
|
x, y |
Size of the kernel in x-axis and y-axis. |
s |
Standard deviation, sigma. |
Returns a matrix.
Yuichiro Hourai, yhourai@gmail.com
Takeo Katsuki, takeo.katsuki@gmail.com
1 2 | gauss9 <- GaussianKernel(9, 9, 5)
display(normalize(gauss9))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.