How to adjust exposure in java?

I want to adjust the exposure of an image using Java. I know that in Java 2D there are existing functions that do this work. But I also want to know how this works at the color level. I did some research on the Internet and he says that we can multiply R, G, B with certain parameters to achieve overexposure, what are the parameters? and what about underexposure? Thanks in advance!

+3
source share
1 answer

You may find this page useful, having fairly detailed information about the general exposure functions:

, , , 0..1 0..1:

  • ( ), , .
  • , / .
  • 0..1, , () RGB!

:

new component value = (old component value) ^ k

k > 1 , k < 1 . , , .

+2

All Articles