powered by
rgb_2gray(RGB_image)
path = system.file("tmp_images", "1.png", package = "OpenImageR") image = readImage(path) gray = rgb_2gray(image)
Run the code above in your browser using DataLab