map_halfimg: Split an image in half along one or more axes, apply a...

Description Usage Arguments Value

View source: R/utils.R

Description

Split an image in half along one or more axes, apply a function, and paste it back together.

Usage

1
map_halfimg(img, fun = function(x) x, axes = "xy")

Arguments

img

a cimg object

fun

a function that operates on a cimg

axes

"x", "y", or "xy"

Value

an imlist


srvanderplas/ShoeAlignR documentation built on Jan. 23, 2021, 4:03 a.m.