How can you get the intensity of a pixel in java?

47 views Asked by At

I need to check the intensity of a pixel in a greyscale image in order to swap it with another pixel with similar intensity. At first i was calculating the average RGB color but I'm not sure this is the right thing to do.

0

There are 0 answers