zapsmall.im {spatstat} | 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.
Ege Rubak and Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/
data(cells) D <- density(cells) zapsmall.im(D)