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
Disabled clip negative GRG from gamut makes image black #9315
Comments
Cannot reproduce with ANY of my test files, Can you specify more details according to issue template? EDIT: Actually my opencl crashed, so i can't check opencl. |
Sorry for short description. I used Filmic RGB and color calibration modules as usual at importing. The image was OK. When I tried to make one image black and white with color calibration B/W built-in preset, the image preview window in the darkroom became black. So was the thumbnail in the lightroom mode. I haven't tried to export the image. |
i checked an older build (10.6.) there's the issue is not reproducible. A build at 18.6. shows this issue. |
Yeah. That's why this option exists and is enabled by default. You disable it, you deal with the issues you create. Not a bug. |
if it works fine with an older build after feature freeze and not with a later build after feature freeze the something changed in between ... |
the only change to colorbalancergb between featurefreeze and now was #9257 (afaik) |
bisect result:
|
I use one of the default presets I used to and get incorrect result. Is it correct behavior? |
yes, because the presets don't check "clip negative RGB from gamut" |
It is a workaround, but not a normal workflow :) . i guess if an option is presented and not disabled for an user, it can be used by one. |
It is not a workaround. Negative RGB are not supposed to happen, there is no negative light nor negative energy. They will trigger invalid computations later. So we either clip them or let the software handle them as NaN, or possibly let users deal with them the way they want. By the way, I tested Intel OpenCL and don't reproduce black images. Worse case scenario is invalid pixels. |
OK, let's speak from a user's POV. There are two scenarios:
|
Usually, you rather want to increase the gamut compression and disable the black clipping to remap out-of-gamut colors at constant hue and luminance (non-destructive). But then, you need to understand that as long as you fail to find the chroma compression that brings all the gamut back into the valid range, the image will be entirely garbled at no fault of the software. So disabling the negative clipping should only be used by people who understand what color spaces are and how we deal with them. But then, again, I have never seen a fully black image here, on CPU or Intel eGPU or Nvidia dGPU, so I bet a faulty driver is to blame for black images. |
|
In the color calibration module disabled "clip negative GRG from gamut" option makes an image black.
Git master at the commit 4965e8f
The text was updated successfully, but these errors were encountered: