I'm looking for the formula that can give me the brightness and contrast values from the values of the white and black points.
I have noticed in DPP, when you change the white point or the black point in the RGB histogram, the values of RGB brightness and contrast are adjusted automatically. So I'm looking for the formula that is used there. I' have tried to search for a linear relation but it is not a linear relation...


