Learn R Programming

imagerExtra (version 1.3.2)

Grayscale: 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

Examples

Run this code
# NOT RUN {
Grayscale(boats) %>% plot
# }

Run the code above in your browser using DataLab