I'm solving old exams. In Java, I would like to open an image file input.ppm, convert it to greyscale, and save it as output.ppm. So I have to read all its contents (RGB information for each pixel), ...
I am trying to classify a set of images into grayscale or color groups. I have been using ImageMagic to do that, comparing the color image to a grayscale version of itself and then using the Peak ...