im_split: Split an image along a certain axis (producing a list)

View source: R/RcppExports.R

im_splitR Documentation

Split an image along a certain axis (producing a list)

Description

Split an image along a certain axis (producing a list)

Usage

im_split(im, axis, nb = -1L)

Arguments

im

an image

axis

the axis along which to split (for example 'c')

nb

number of objects to split into. if nb=-1 (the default) the maximum number of splits is used ie. split(im,"c") produces a list containing all individual colour channels

See Also

imappend (the reverse operation)


imager documentation built on May 29, 2024, 1:38 a.m.