im_gray: Convert to grayscale

View source: R/pictplot.R

im_grayR Documentation

Convert to grayscale

Description

Convert to grayscale

Usage

im_gray(im, tricolored = FALSE)

Arguments

im

an image

tricolored

if TRUE, returned image has three color channels

Value

an image

Examples

plot(im_gray(regatta))

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