iiply: Split an image, apply function, recombine the results as an image

Description

This is just imsplit followed by llply followed by imappend

Usage

1
iiply(im, axis, fun, ...)

Arguments

im

image

axis

axis for the split (e.g "c")

fun

function to apply

...

extra arguments to function fun

Examples

1
2
##' #Normalise colour channels separately, recombine
iiply(boats,"c",function(v) (v-mean(v))/sd(v)) %>% plot 

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.