I\'m trying to use matplotlib to read in an RGB image and convert it to grayscale.
matplotlib
In matlab I use this:
img = rgb2gray(imread(\'image.p
image=myCamera.getImage().crop(xx,xx,xx,xx).scale(xx,xx).greyscale()
You can use greyscale() directly for the transformation.
greyscale()