rgb2gray: Convert RGB image to Grayscale

Description Usage Arguments Value See Also

Description

A function returns grayscale image with coefficients = c(0.3, 0.59, 0.11).

Usage

1
rgb2gray(x, coefs=c(0.30, 0.59, 0.11))

Arguments

x

A raster image or a matrix

coefs

R, G, B weights. Default are coefs=c(0.30, 0.59, 0.11)

Value

A grayscale image

See Also

gray2bin


wvtool documentation built on May 1, 2019, 10:27 p.m.

Related to rgb2gray in wvtool...