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/ImageAlignR documentation built on Jan. 24, 2021, 5:10 a.m.