zapsmall.im

0th

Percentile

Rounding of Pixel Values

Modifies a pixel image, identifying those pixels that have values very close to zero, and replacing the value by zero.

Keywords
methods, spatial, univar
Usage
zapsmall.im(x, digits)
Arguments
x
Pixel image (object of class "im").
digits
Argument passed to zapsmall indicating the precision to be used.
Details

The function zapsmall is applied to each pixel value of the image x.

Value

  • Another pixel image.

See Also

zapsmall

Aliases
  • zapsmall.im
Examples
data(cells)
  D <- density(cells)
  zapsmall.im(D)
Documentation reproduced from package spatstat, version 1.29-0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.