4 ms·
One of the worst "ossifications" of non-standards is the notion that colour is three channels of 0..255, one each for red, green, and blue. Combined with the in
by jiggawatts 4y ago
One of the worst "ossifications" of non-standards is the notion that colour is three channels of 0..255, one each for red, green, and blue. Combined with the incorrect assumption that the scale is linear[1], and you have a perfect combination for a Dunning-Kruger effect: A bunch of programmers[2] who think they've figured out "graphics", but haven't even begun to understand how any of it works. Not any of: light, display technology, colour standards, or even the human eye.
A short list of falsehoods programmers believe about vision:
- sRGB is the only graphics standard.
- Monitors are actually sRGB and follow that standard.
- Colour intensities are on a linear scale.
- White is 0x00FFFFFF or 255,255,255
- 50% Grey is half of the above: 127,127,127.
- Blending colours is just a matter of linear interpolation.
- Red, green, and blue have a single consistent definition.
- 8 bits is enough for each colour channel.
- Okay, 10 bits is enough.
- 12 bits is enough, surely.
- 0 means black.
- Okay, 16 means black on televisions.
- Fine, black can have different levels in different standards, but it's always clear which level is black.
- At least the white level is consistently defined.
[1] Narrator: it's not even remotely linear.
[2] Including myself until recently.
- VMG 4y agoThis would make for an excellent blog post
- jiggawatts 4y agoI would, if I thought it would make a difference. It won't. I just bought a new 2022 model flagship television, and its colour management is very visibly broken![1] My partner, who knows nothing about colour standards mentioned that she thought the colours were "off" within minutes of using it. This is the good brand and model according to reviews. I've seen the other brands in the store, and they're markedly worse. Like... stupidly bad. Garish beyond belief. People looking like they're wearing clown makeup. Normal colours looking like neon tubes. Are most people colour blind? Am I weird? Did I marry someone equally weird? Or is it a mistake to just say: red = 0xFF0000, commit the code, and call it a day? It's probably just me. Never mind. [1] Unless I connect an Apple TV to it, on which nothing is broken. It's amazing that only one company on this planet is able to comprehend colour. Every other organisation, propriety limited, corporation, and charity is staffed entirely by colourblind people or robots that see only black and white.
- galangalalgol 4y agoI can't even tell the difference between the color settings on my phone or TV. I am not colorblind, I pass those tests. I think maybe I have spent so much time staring at screens in my life that my brain has internalized rgb. One of the most enlightening things for me long ago was trying to write a converter between wavelength and rgb value. It led to all the right questions. Ultimately I still dont understand color perception. It is hideously complex. But also so fascinating. The mothers of colorblind men are often tetrachromatic. I really wonder what TV's look like to them, since they assume 3 normal frequency responses.
- otikik 4y agoWell this is a thing that exists after all: https://en.wikipedia.org/wiki/Tetrachromacy https://en.wikipedia.org/wiki/Tetrachromacy
- finnh 4y agoGarishness on new TVs also comes from the "soap opera effect", caused by motion smoothing, which is enabled on every new TV I've seen (and which tends to reset itself every few months on my home TV). Turning that off makes everything so much better.
- dumpsterdiver 4y agoOn my TV it's called "perfect motion" and it's terrible.
- rbanffy 4y agoGod made movies 24 fps for a reason.
- astrange 4y agoMoving pictures can look strange (juddery) on LCD/OLED TVs without either a little motion smoothing or black frame insertion. They were made to be shown on a flickering projector after all. Also, you see people saying "motion smoothing needs to be turned off to respect the artist's intent" but have you seen what those people get up to? It's like a moral obligation to disrespect them.
- DizzyDoo 4y ago> - Blending colours is just a matter of linear interpolation. I recall there being a particularly contentious bug report for Adobe Photoshop eight or nine years ago. The original thread is here: https://community.adobe.com/t5/photoshop-ecosystem-ideas/p-gradient-editor-needs-a-few-improvements/idi-p/12249406 https://community.adobe.com/t5/photoshop-ecosystem-ideas/p-g... - but all the users have been replaced by "FeedbackCommunityMember", so it's a bit hard to figure out who is talking to who (perhaps someone can find a properly archived url). In any case, an Adobe product person was unbelievably stubborn about their assumption there is just a single way colours can blend one to another, and that all the other ways couldn't possibly be desirable. It was pretty hard to read.
- Tyrannosaur 4y agoThat is a pretty wild thread to read. Also funny to note the update- > Special thanks to @bennettf96052341 for his gracious feedback I remember a youtube video from years ago explaining this problem with photoshop's gradient tool (and other naive implementations), but I can't find it now. Colors are hard.
- moring 4y ago> White is 0x00FFFFFF or 255,255,255 Calling this a falsehood isn't even beginning to describe the problem: - does not distinguish between a white surface (reflects all light) and a white emitter (emits blackbody radiation in a specific temperature range) - there is no maximum intensity for emitted light, but there is a maximum for reflection - RGB (255,255,255) does not produce a blackbody curve -- though it can cause the same reaction as a blackbody curve for people with exactly three working cone types. This point may be wrong on this list because it may be thought of as a solved problem. - RGB (255,255,255) does not specify the temperature - that is before monitors even start being imperfect Oh, and a general one: An emitted color (e.g. monitor) and a reflected color (e.g. printout) cannot be the "same", ever, because only the latter depends on how it is illuminated.
- taneq 4y agoWhat about RGB (256, 256, 256) though? Edit: Oops, I read "there is a maximum for reflection - RGB (255,255,255)" as one statement rather than two fragments but I still like my response. :P
- otikik 4y agoI always understood OxFFFFFF to be “give me all you’ve got”. Of course a quasar is going to be able to emit more powerful photons than a 90s CRT. But if said quasar had a GUI, 0xFFFFFF would mean “master blaster”, and the same for the old screen. My expectation as a programmer was never that the colors would have any semblance of “realism” or “uniformity”, and to expect variance from machine to machine. Perhaps since I have not involved myself with photography software and kept my budget for displays below the thousands-per-unit this has held true so far
- taneq 4y agoAlso: - Pixels are squares - Pixels are as wide as they are tall - Limiting the colour gradient across an area will make it look smooth (Mach banding yay) - The number of bytes in a line of an image is bits_per_pixel * pixels_per_line - High frame rate means smooth animation
- BrandoElFollito 4y agoThe first one would be "colors exist as a physical concept". They do not. There is no relationship between the physical nature of light and what we call "color". A wave has a frequency. There is no concept of "color" associated to a wave. We statistically put names on some convoluted detector/brain transformations and everyone does the transformation differently. This is why most of the people agree that a tomato is "red". As an ex-physicist, I hate to speak about colors in a physical context (and yes, we have charts that show that higher frequencies are "blue" and lower ones "red"). Color is a biological concept and should stay that way. And then, as a farther, I have to explain to my children the convoluted course on colors in high school in France. Sorry, I had to let off some steam.
- NoSorryCannot 4y agoThis is navel gazing along the lines of cocktail-fueled debates over a tree falling in a forest. Does light still have a color if no one is around to see it? Fundamentally these words have lots of reasonable wiggle room to expand or narrow their definitions. Still, lots of technical domains would like to be explicit about what is meant, especially when reusing common words, which is why man invented the glossary. Unfortunately this hasn't stopped endless argumentation over whether a tomato is a fruit or a vegetable. For whatever reason, it's often presumed that the definition of fruit used in botany has "won", even though botany has nothing to tell us about what a vegetable is or how to distinguish one from a fruit.
- BrandoElFollito 4y agoI am not sure I understand your point. On the one hand you have light waves that hit some receptors in the eye. These receptors (various kinds) sensitive to frequencies according to a function. This creates a specific signal that is analyzed by the brain which assigns a "color" to that signal. Everyone's, to some extent, functions are different. There is a general trend so most people agree on "colors". When you are colorblind, the functions differ drastically (or are just flat). This is why "color" is a biological concept (same as, say, "pain") to which we are desperately trying to attach three or four numbers (or, worse, a wavelength)
- swayvil 4y agoThat's the thing about Dunning-Kruger. It's always invisible. You could be surrounded by a herd of 100-ton Dunning-Krugers and never know it.
- Melatonic 4y agoAnd Pink isnt even real :-)
- rbanffy 4y agoI once met her and I can tell you she exists.