Learn R Programming

handwriter (version 3.2.4)

rgb2grayscale: rgba2grayscale

Description

Changes RGB image to grayscale

Usage

rgb2grayscale(img)

Value

img as a 3D array as grayscale

Arguments

img

A 3D array with slices R, G, and B