Grayscale {imagerExtra}R Documentation

compute average of RGB channels

Description

compute average of RGB channels

Usage

Grayscale(imcol)

Arguments

imcol

a color image of class cimg

Value

a grayscale image of class cimg

Author(s)

Shota Ochi

Examples

Grayscale(boats) %>% plot

[Package imagerExtra version 1.3.2 Index]