imager (version 0.41.2)

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)