powered by
Shorthand for imsplit followed by purrr::map
ilply(im, axis, fun, ...)
image
axis for the split (e.g "c")
function to apply
extra arguments for function fun
cimg.limit.openmp() parrots <- load.example("parrots") ilply(parrots,"c",mean) #mean luminance per colour channel
Run the code above in your browser using DataLab