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

Description Usage Arguments Examples

View source: R/splitcombine.R

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 

imager documentation built on May 29, 2017, 8:46 p.m.

Search within the imager package
Search all R packages, documentation and source code