convert an RGB image to Gray
convert an RGB image to Gray
rgb_2gray(RGB_image)
RGB_image |
a 3-dimensional array |
This function converts an RGB image to gray
a matrix
Lampros Mouselimis
path = system.file("tmp_images", "1.png", package = "OpenImageR") image = readImage(path) gray = rgb_2gray(image)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.