Questions tagged [colorspace]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
6 votes
1 answer
4k views

How do I calculate average hue, since the numbers loop around?

If I calculate the average (mean) hue of a set of colours naively, I will get silly answers sometimes. For example, in HSB/HSL, the average of hue=10 (slightly orange red) and hue=350 (slightly blue ...
spraff's user avatar
  • 279
4 votes
3 answers
3k views

Why is there a difference between the CIE XYZ colour gamut vs CIE RGB?

Yet another question about colour space... In my research on CIE XYZ system, I found that it is based on the CIE RGB colour matching experiments, and that because the RGB system needed occasional ...
FShrike's user avatar
  • 205
3 votes
1 answer
1k views

Alpha blending in linear colour space

I've been making a simple game in OpenGL, and implemented a screen fade-out using the old 'draw a black fullscreen quad and ramp up the alpha' trick. I'm doing all my shaders in linear space and using ...
russ's user avatar
  • 2,372
2 votes
2 answers
153 views

Does CIE XYZ preserve spectral accuracy when used for progressive rendering?

How accurate it is to estimate rendering equation using wavelengths and then convert result to CIE XYZ to accumulate samples temporally by averaging them over time?
Ocelot's user avatar
  • 125
2 votes
1 answer
1k views

How to convert from XYZ or sRGB to ACEScg/AP1

I'm confused about how to properly convert from sRGB or XYZ color space to ACEScg. Specifically whether I have to account for differences in white point explicitly. The aces github page gives the ...
B_old's user avatar
  • 183
2 votes
1 answer
145 views

Interpolating HSV color with black

I'm interpolating RGB values by transforming them into HSV space and then back into RGB. I have trouble figuring out how to achieve ...
M.K.'s user avatar
  • 163
2 votes
1 answer
45 views

value range in CIEXYZ space

When converting from sRGB to CIEXYZ I seem to be off by a factor of 100 I'm trying to convert from sRGB to CIELAB. Calculation First I need to go from sRGB to CIEXYZ. Using this formula I get i.e. ...
md7's user avatar
  • 23
2 votes
0 answers
23 views

What CMFs (aka Spectral Functions) did Microsoft and HP use to develop sRGB standardized in: IEC 61966-2-1:1999?

CIE 1931 2° probably served as a basis, but which version? Published in 1999, the final specification can not have referred to CIE 2006, but cvrl.org lists several others: CIE 1931 2°, CIE 1931 2° ...
Ben McKenneby's user avatar
2 votes
0 answers
101 views

What is the CMYK color profile used by pantone.com

Pantone spot colors are specified in the RGB and CMYK color models on the https://pantone.com website. For example, the Pantone 122 spot color as it appears when printed on coated paper is specified ...
Witiko's user avatar
  • 21
1 vote
1 answer
133 views

Luminace, RGB, and SMPT ST 2084 EOTF

I need a point clarified. According to wikipedia, SMPT ST 2084 EOTF is this: I've seen this equation implemented in game engines where for L they feed the channels RGB, each of which is 0 to 10,000 ...
Rafael Sabino's user avatar
1 vote
0 answers
78 views

What is the best way to display complex number "images"?

I may be getting some details wrong (e.g. colour space vs. colour model), so please bear with me: I want to represent "images" consisting of complex numbers i.e. for each "pixel" ...
Chillpadde's user avatar
1 vote
0 answers
21 views

Using the HTML canvas and colors to track objects

I need to rewrite a short utility library, to get it working with the Brave browser (My actual question isn't about brave per se.) canvas-color-tracker - example of it being used and src/index.js is ...
exrhizo's user avatar
  • 11
0 votes
1 answer
73 views

How do I plot tristimulus curves?

LMS Color Space is based on responsivity of 3 cones in Human eyes with each having different curves. I'm looking for a way to plot those curves. Moreover, Is threre a way to covert wavelength under ...
vector X's user avatar
0 votes
2 answers
62 views

What is the name of this moving color pixels effect, for animating a painting?

https://superrare.co/artwork-v2/spring-22267 The artwork in the link seems to be based on a painting of a woman, but effects have been added that assign a pixel to each block of the painting that ...
user610620's user avatar
0 votes
2 answers
100 views

What is the relation between colour spaces and what is actually displayed on our screens?

I am not entirely sure that this is the right stack exchange, but I couldn't find any other suitable one - please redirect me if necessary. There exists mathematically defined colour spaces which help ...
FShrike's user avatar
  • 205
0 votes
1 answer
67 views

How to visualize color synthesis in HSL diagram

before considering the HSL color space, let's consider the CIE chromaticity diagram to understand what I'm looking for: Unless I am mistaken, I read it that way: Given two points A, B, any color in ...
Kinka-Byo's user avatar
  • 103