-2
votes
0answers
24 views

how to read and write a ppm in Java [migrated]

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), ...
6
votes
2answers
801 views

Image color/grayscale classification

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 ...