0-255 Levels for RGB Composit

NP
Posted By
neil_poulsen
Nov 4, 2003
Views
316
Replies
3
Status
Closed
How does Adobe Photoshop arrive at the RGB composit 0-255 level value for a pixel, given the individual levels (0-255) for each of the colors Red, Green, Blue for the same pixel? Is it a simple average?

For example, invoking Image|Adjustments|Levels will bring up a histogram of these levels. How is the RGB composit level calculated for a pixel given the individual R, G, B levels for that pixel?

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

CC
Chris_Cox
Nov 4, 2003
That depends on the blending mode, pixel transparency and opacity settings.

And the exact math is pretty long and complex.
NP
neil_poulsen
Nov 5, 2003
Is it a linear combination, or does it involve non-linear expressions?
CC
Chris_Cox
Nov 9, 2003
That depends on the blending mode.

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections