im_random_pixelate: Apply a mosaic effect followed by position randomization

View source: R/pictplot.R

im_random_pixelateR Documentation

Apply a mosaic effect followed by position randomization

Description

Apply a mosaic effect followed by position randomization

Usage

im_random_pixelate(im, size = 16, direction = "xy", noise = 1)

Arguments

im

an image

size

box size in pixel (default is 16)

direction

shuffle direction (either "x", "y", or "xy"). default is "xy".

noise

percent of noise (default is 1). a numeric value between 0 and 1.

Value

an image

Examples

plot(im_random_pixelate(regatta, size = 16, direction = "xy", noise = 0.1))

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.