Grayscale: compute average of RGB channels

Description Usage Arguments Value Author(s) Examples

View source: R/treat_color_image.R

Description

compute average of RGB channels

Usage

1
Grayscale(imcol)

Arguments

imcol

a color image of class cimg

Value

a grayscale image of class cimg

Author(s)

Shota Ochi

Examples

1
Grayscale(boats) %>% plot

imagerExtra documentation built on May 2, 2019, 1:44 p.m.