zapsmall.im | R Documentation |
Modifies a pixel image, identifying those pixels that have values very close to zero, and replacing the value by zero.
zapsmall.im(x, digits)
x |
Pixel image (object of class |
digits |
Argument passed to |
The function zapsmall
is applied to each pixel value
of the image x
.
Another pixel image.
and \adrian
zapsmall
Z <- as.im(function(x,y) { exp(-40*(x+y)) }, square(1), dimyx=32)
zapsmall.im(Z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.