r/hardware • SemiAnalysis • Jan 06 '18

Computer Color is Broken

https://youtu.be/LKnqECcg6Gw
72 Upvotes

10 comments sorted by

17

u/ayoblub Jan 06 '18

Thats why you should use linear colour math or 32bit modes to properly work with graphics these days.

3

u/[deleted] Jan 07 '18 edited Jan 07 '18

Sorry? Dont think 32bit has anything to do with it. 32bit is already the norm. 8 bits per channel, 4 channels.

Edit: im a derp and realized you were talking about 32 bits per channel. Yeah thatd work

Edit2: Actually 32 bit modes dont work with layer blending modes. Just go to Edit>Color Settings>Blend RGB using Gamma

6

u/heartofthemoon Jan 07 '18

How does 32 bit colour per channel fix the problem? I was under the impression the problem lies with how we see colour with our crappy pigments in cone cells.

5

u/[deleted] Jan 07 '18

How does 32 bit colour per channel fix the problem?

It may be specific to Photoshop, but when you switch it to editing in 32-bit mode, rather than 8-bit or 16-bit, it calculates things properly in linear-light rather than gamma-light.

Photoshop also has a "Blend RGB Colors Using Gamma 1.00" option, but I believe that only applies to things like brushes, not filters. (At least that's how it works in CS5)

4

u/[deleted] Jan 07 '18

Nope has nothing to do with how we perceive color. The video talks about that briefly but only to explain the situation regarding how a computer processes color data (its a mathematics algorithm). My brain's kinda fried rn so the best explaination is "it just works", but it doesnt work great due to incompatibility with screen blending modes and such. Best to just turn on Blend RGB Using Gamma.

4

u/gvargh Jan 07 '18

It doesn't "fix" the problem so much as it allows you to avoid it.

As mentioned in the video, human vision is more sensitive to brightness changes with darker colors. Since 8-bit channels only give you 256 intensity levels (which isn't a lot), gamma serves to "compress" more of those values into the low intensities than if a linear function were used. This of course reduces the ability to differentiate brighter shades.

With 32-bit channels you have so many possible values (more than the eye can distinguish) that you don't really need gamma anymore. Thus 32-bit per channel formats (such as EXR) tend to be linear.

4

u/[deleted] Jan 07 '18

Thanks for sharing this!

4

u/[deleted] Jan 07 '18

Just go to Edit>Color Settings>Blend RGB using Gamma to fix this in PS

1

u/BiggRanger Jan 07 '18

And I thought this was going to be about a TRS-80 Color computer... Guess I've been spending too much time on /r/RetroBattleStations

0

u/victory_zero Jan 07 '18

My first attempt at your title was "computer colon is broken" and my first reaction was "that's a crappy situation"