powered by
This is just imsplit followed by purrr::map followed by imappend
iiply(im, axis, fun, ...)
image
axis for the split (e.g "c")
function to apply
extra arguments to function fun
##' #Normalise colour channels separately, recombine iiply(boats,"c",function(v) (v-mean(v))/sd(v)) %>% plot
Run the code above in your browser using DataLab