im_randomize | R Documentation |
Apply a pixel randomization effect
im_randomize( im, size = 16, direction = "xy", shuffle = TRUE, fraction = 1, noise = 1 )
im |
an image |
size |
box size in pixel (default is 1) |
direction |
shuffle direction (either "x", "y", or "xy"). default is "xy". |
shuffle |
shuffle along the direction. either TRUE (default) or FALSE |
fraction |
a fraction of stripes are shuffled. a numeric value between 0 and 1 (default is 1). |
noise |
percent of noise. a numeric value between 0 and 1 (default is 1). |
an image
plot(im_randomize(regatta, size = 16, direction = "xy", shuffle = TRUE, fraction = 1, noise = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.