Learn R Programming

imager (version 0.42.10)

im_split: 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)