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?

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

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.

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections