sRGB EOTF incorrect value for linear section?
See original GitHub issueIssue Description
sRGB EOTF threshold error?
In colour/colour/models/rgb/transfer_functions/srgb.py
in the function “def oetf_reverse_sRGB(V):”
V <= oetf_sRGB(0.0031308),
I was thinking this was an incorrect value till I parsed the code more… Now I see that you’re using the oetf_sRGB to create the “inverse”… the specified value per ISO spec is 0.04045 (or the unrounded 0.0404482) … as a thought the following would reduce overhead wouldn’t it? (Or is this solving some other problem? Perhaps a comment indicating the reasons as at first glance it look like the wrong threshold value is in place).
L = np.where( V <= 0.0404482, V / 12.92, spow((V + 0.055) / 1.055, 2.4), )
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
sRGB piece-wise EOTF vs pure gamma - VWG
I'm from power law 2.2 gamma club, all sRGB EOTF screens are evil ... function uses an offset 2.4 power function with a...
Read more >sRGB EOTF: Pure Gamma 2.2 Function or Piece-Wise Function?
It took me 4 years to decide that the sRGB linear “toe” needs to be part of reference. CRTs were pure power function...
Read more >Dealing with sRGB - The Colorist & Color Grading Forum
It is output-referred, in that it defines the desired colorimetry on an sRGB display... The sRGB EOTF is not a simple gamma 2.2....
Read more >sRGB to and from Linear Light - Shadertoy
So to be clear, if an image is listed as encoded with sRGB, it is a safe assumption that it was *correctly* encoded...
Read more >Benq SW2700PT sRGB mode gamma - no linear section
Correct me if I'm wrong but I believe the sRGB linear section extends to between 10 and 11 in terms of 8-bit values....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You are welcome! I will close this one but feel free to ask any more questions!
Thank you @KelSolaar — I really appreciate the quick tutorial on numpy !