Description Usage Arguments Details Value Author(s) See Also Examples
Given an x and y dimension, build a five point stencil of matching dimensions whose values are either -4, 0, and 1 and whose sum = 0.
1 | build.lap(xdim,ydim)
|
xdim |
x dimension of desired matrix output |
ydim |
y dimension of desired matrix output |
Note that if xdim
or ydim
are even, the stencil values will be off center. This can be a problem when using a Laplacian matrix for multiple filtering operations.
Matrix with dimensions equal to xdim
and ydim
with five point stencil located near the middle of the matrix (see Details).
Alex J.C. Witsil
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.