get_channel: Extract a color channel from an image

View source: R/pictplot.R

get_channelR Documentation

Extract a color channel from an image

Description

Extract a color channel from an image

Usage

get_channel(im, channel)

Arguments

im

an image

channel

color channel to extract. either numeric or string.

Value

an image

Examples

R = get_channel(regatta, 1)
plot(R)
G = get_channel(regatta, "G")
plot(G)

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.