I have an RGB image that I want to convert to a grayscale image so that I can have one number (maybe 0 to 1) for each pixel. This gives me a matrix that has dimensions equal to the pixel dimensions of the image. Then I want to do some manipulations on this matrix and generate a new grayscale image from this managed matrix. How can i do this?
python image image-processing python-imaging-library
lovespeed
source share