RGB2GRAY {RgoogleMaps}R Documentation

translates an RGB image matrix to gray scale

Description

This function translates the rgb values of the array myTile into a scalar matrix with just one gray value per pixel.

Usage

RGB2GRAY(myTile)

Arguments

myTile rgb image matrix, usually array with 3 dimensions

Details

Gray scale intensity defined as 0.30R + 0.59G + 0.11B

Value

gray scale image matrix

Author(s)

Markus Loecher


[Package RgoogleMaps version 1.1.3 Index]