R/utils.R
map_halfimg.Rd
Split an image in half along one or more axes, apply a function, and paste it back together.
map_halfimg(img, fun = function(x) x, axes = "xy")
img | a cimg object |
---|---|
fun | a function that operates on a cimg |
axes | "x", "y", or "xy" |
an imlist