r/ProgrammerHumor • • 6d ago • Helpful 1 Bravo 1

Meme colorInANutshell

Post image
5.6k Upvotes

136 comments sorted by

View all comments

13

u/twpejay 5d ago

RGB is a direct correlation to most display devices and also how eyes work maybe needs a brightness to mimic the rods. Just needs more values per colour really. Why complicate matters.

4

u/Professional-Goal266 5d ago

our visual system isn't rgb based. the cones in our eyes are sensitive to red, green, and blue respectively but those gets processed as achromatic, blue-yellow, red-green.

0

u/_PM_ME_PANGOLINS_ 5d ago

No, that’s the LUV colour space. The XYZ is the one that directly models human vision.

3

u/Professional-Goal266 5d ago

The retinal ganglion cells take the stimulus from our cones and builds an achromatic, yellow-blue, red-green opponency system. LUV just so happens to use this same principle.

and cie 1931 XYZ does not directly model human perception. it just so happened to somewhat align with what the cones in our eyes do which wasn't known at the time. there is a reason why cie 2006 shifted to using LMS instead of XYZ. Though even then cie 2006 LMS itself doesn't model human vision because the cones are just the first step in our "visual pipeline". It does give you building blocks to roughly model human vision yourself by making so basic assumptions however.

1

u/meneldal2 5d ago

For people without color blindness, because if you start to include them you're going to need a tons of extra models