lens: Slice an image and reorder it twice

Description Usage Arguments Examples

Description

Slice an image and reorder it twice

Usage

1
lens(img, dpi = 30)

Arguments

img

magick image object returned by image_read() or image_graph()

dpi

number of slice

Examples

1
2
3
library(magick)
image_read("http://fr.web.img6.acsta.net/pictures/15/07/20/18/14/582462.jpg") %>%
lens(dpi = 50)

VincentGuyader/crocodile documentation built on May 20, 2019, 5:41 p.m.