get_channel: Extract a color channel from an image

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Extract a color channel from an image

Usage

1
get_channel(im, channel)

Arguments

im

an image

channel

color channel to extract. either numeric or string.

Value

an image

Examples

1
2
3
4
R = get_channel(regatta, 1)
plot(R)
G = get_channel(regatta, "G")
plot(G)

tsuda16k/noesis documentation built on Nov. 25, 2020, 10:16 a.m.