-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HSVL : V reporting incorrect data in the viewer? #286
Comments
There is no reference stating that HSV should be computed from linearized color values. The thing is, Nuke until Nuke 8 computed HSV from sRGB values, which made sense since many peaple were using those values to compute HSV in the 8-bit era. References: |
Affected plugins: RGBToHSV, HSVToRGB, RGBToHSL, HSLToRGB, RGBToHSI, HSIToRGB. Nuke 5-8 version used sRGB colors to compute HSV However, as Alvin Ray Smith said in his paper, "We shall assume that an RGB monitor is a linear device" We thus use linear values (same as Nuke 9 and later). Fixes NatronGitHub/Natron#286 Reference: "Color gamut transform pairs", Alvy Ray Smith, Proceeding SIGGRAPH '78 https://doi.org/10.1145/800248.807361 http://www.icst.pku.edu.cn/F/course/ImageProcessing/2018/resource/Color78.pdf
Problem
The V data being reported in the Viewer window when sampling using Ctrl+LMB appears to be incorrect.
Expected behavior: The reported V data should equal whatever the highest RGB value being reported is.
Actual behavior: The number being reported is not a value that reflects any known information.
Steps to Reproduce
Versions
This software was compiled from the source code branch tags/2.3.12 at version 266fb27 using GNU C++ version 7.3.0 with OpenMP 4.5 targetting Intel x86-64 for Unix Environment.
The bundled openfx-io plugins were compiled from version 83cd498.
The bundled openfx-misc plugins were compiled from version f03c6c0.
The bundled openfx-arena plugins were compiled from version 50f9e12.
The bundled openfx-gmic plugins were compiled from version 36a4f22.
Windows 10 Enterprise 64-bit
The text was updated successfully, but these errors were encountered: