split: Split an Image into Separate Channels

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/ImageClass.R

Description

split returns a list of grayscale images corresponding to each of the channels (blue, green, red, or alpha) of an image.

Usage

1
split(x)

Arguments

x

An Image object.

Value

A list of single channel (grayscale) Image objects.

Note

Color images are usually represented by 3 channels (possibly 4) in the following order: blue (1), green (2), red (3), and possibly alpha (4).

Author(s)

Simon Garnier, garnier@njit.edu

See Also

merge, Image

Examples

1
# TODO

neuroconductor-devel/Rvision documentation built on May 16, 2021, 5:16 p.m.