Split an image, apply function, recombine the results as an image
This is just imsplit followed by purrr::map followed by imappend
iiply(im, axis, fun, ...)
im |
image |
axis |
axis for the split (e.g "c") |
fun |
function to apply |
... |
extra arguments to function fun |
##' #Normalise colour channels separately, recombine iiply(boats,"c",function(v) (v-mean(v))/sd(v)) %>% plot
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.