powered by
iiply(im, axis, fun, ...)
parrots <- load.image(system.file('extdata/parrots.png',package='imager')) #Normalise colour channels separately, recombine iiply(parrots,"c",function(v) (v-mean(v))/sd(v)) %>% plot
Run the code above in your browser using DataLab