im_pad | R Documentation |
Pad image with n pixels
im_pad(im, n, method = "mirror")
im |
an image |
n |
number of pixels to pad with |
method |
either "zero", "mean", "repeat", "mirror", or a numeric value |
# zero padding im = im_pad(regatta, 20, "zero") plot(im) # mirror padding im = im_pad(regatta, 100, "mirror") plot(im)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.