powered by
Modifies a pixel image, identifying those pixels that have values very close to zero, and replacing the value by zero.
zapsmall.im(x, digits)
Pixel image (object of class "im").
"im"
Argument passed to zapsmall indicating the precision to be used.
zapsmall
Another pixel image.
The function zapsmall is applied to each pixel value of the image x.
x
# NOT RUN { Z <- as.im(function(x,y) { exp(-40*(x+y)) }, square(1), dimyx=32) zapsmall.im(Z) # }
Run the code above in your browser using DataLab