Generate autostereogram from depth map

getme(img, len = 100, shift = 0.2, block = 4, color = FALSE, style = "noise")

Arguments

img

cimg depth map object

len

width of repeating pattern in pixels, default 100

shift

shift of magic eye, default 0.2

block

size of each pattern block in pixels, default 4. Larger blocks make the 3D effect easier to see.

color

if TRUE generate a color stereogram, default FALSE

style

pattern style: "noise" (default), or "qr" for QR code appearance

Value

cimg autostereogram