-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Image before export is too red, but after it is too green. #17758
Comments
You describe something I haven't come across and not reported before. To check we certainly would need a raw file plus the xmp plus setting you are using for exporting. |
Yes of course. Could you provide me a list of things that I should send here? As soon as I get home I will get back to you. |
As mentioned, raw-file, xmp and export settings :-) |
Hey, here is the link to google drive: |
Aah, very interesting. I'll explain later. Can you confirm this does not happen with low iso images from the same camera? If you have issues then too, provide an other raw please. |
As mentioned above it happens with every image. At iso 100 it is not as drastic but still happens. I will provide you a raw as soon as I get home today. |
The interesting point for me is, you can reproduce the issue - different output after HQ pipe is toggled - even with only these modules enabled The chosen demosaicer has some influence but it's even there with the passthru modes. From my understanding this is another example where the downscaling interpolator is behaving bad because
BTW i am really surprised about the bad signal/noise ratio in these images. Could it be the camera has a hardware problem or became very hot? @kofa73 have you seen things like this on your LX7 with high ISO ? |
I don't shoot it at high ISO, because it's very noisy. But I'll test.
|
Would You share that high iso raw? |
https://tech.kovacs-telekes.org/files/2024-11-03-darktable-issue-17758/2024-11-03-20-00-21-P1060032.RW2 (sorry about the cat hair, it's everywhere :-D) |
Could you shoot one of colorful content? Bunch of flowers? |
Sorry missclick. |
@kofa73 i can clearly reproduce here with your mouse-pad image. The reproducer:
I don't think it's this point here. I currently think it's the scaler (see other issues about that #13335 #13682). I have been reading through image-scaling literature recently and from my current understanding the way we downscale by a factor of >>2.0 after demosaicing seems to be wrong to me. See my current PR about demosaicing - that's about refactoring demosaicer code so we could handle this scaling issue in a much safer way. |
I am really surprised about the strong noise here. Unfortunately i don't have any images from your camera and can't evaluate further. Not sure is the black/white points are ideal but that doesn't change much in this issue. If you want to do so, you might share some low-iso raw images here so we could inspect. @kofa73 is also very experienced with tracking down issues to the bottom :-) EDIT: i actually found 4 other ILCE-6000 images in my test-collection, all with ISO 100-200 and all are just "perfect" and don't show the issue in any significant way. |
So is there any way to fix this? Or is it an issue on deeper level? For now I will change demosaic since that helps a bit. |
I don't know if that was for me or not, but here it goes - no flowers, but a bunch of toys with bold colours: |
Actually to both of you :-) Yeah a nice example with lots of noise. Still far less noise than the OP example - due to better exposure. I tested some more using an experimental filter before demosaic downscaling ... not convinced about my hypothesis any more. Actually i don't know. The big color blotches on the sony image ... |
I am still interested in one of your low-iso images as the ones i have from the same camera you are using don't show the problem. Wildly pinging @kmilos @LebedevRI here. Does one of you have any idea about this? |
Here are Raws I have on hand from iso 100. Taken with -3 EV because I wanted to test if this issue happens with low iso. If they are bad I will take them in good exposure. |
Thanks, the noise is clearly under control up to ~400ISO. BTW - if you underexpose that much as in all the presented images you will certainly loose > 12dB of signal/noise ratio. Modern sensors can do magic here but it seems you should more stick to ETTR :-) |
I can create a more underexposed image, if needed. Or this one (from the D7000) is plenty underexposed: https://discuss.pixls.us/t/night-landing-high-iso/45689 |
Iso to 1600 is not noiticable on social media or just phone. Right now I want to buy a6700 as my next camera. But let's get back to topic. Is it issue with my camera? Software isn't the newest because usb port is damaged and I cannot update it. |
Thanks, same issue as reported. |
Likely the best option in current dt would be a preset for "raw denoise", you have to push the fine position quite to the top.
Currently - after investigating the high-noise images from @kofa73 - i don't think so. For some reason dt has problems with such high noise images. Likely for very long but becoming obvious after people like you starting to use the HQ button making this obvious and not only by comparing exports. |
Still it affects image even with minimal stack... Noisy or not. Only thing I can do is use raw denoise? |
@jenshannoschwalm raw denoise also changes colours: |
@kofa73 @TurboGit @parafin @ralfbrown Folks i think i got it. I compiled a dt test version with the finalscale module being enforced to be just before colorout, it seems all issues are gone immediately, this can be checked as usual with the HQ button. So indeed it seems to be the same issue as discussed in the above mentioned issues #13335, #13635 and #13682, down/upscaling done after changing to colorout.
How can we have progress here? |
I'll try to reproduce this issue first.
Do you see all the implication of moving the This means that we would ONLY change So we really want to do some testing here. |
Oh, wait no big deal |
Can I compile this version myself? Is there any branch for it? |
To reproduce, take any of the noise and underexposed images and switch off all modules that are not technically necessary to make sure it's not some "color magic" stepping in, maybe expose to see things better. (No temp .....) Notice the difference in "brightness" at least ... |
Just some background read of interest: https://usage.imagemagick.org/resize/#resize_colorspace |
@kmilos : Thanks, interesting reading indeed. |
I have compiled @TurboGit commit |
@Maciejka1 : You need to reset image history or select the 3.1 IOP order. |
Describe the bug
To be clear my color profiles are configured to sRGB as export and display profile and I tried every solution from the web also I tried 2 different displays, xorg, xwayland, wayland, and different desktop environments.
Every image in darktable is too red. When I enable high quality processing issue dissapears.
Left is image before export and right is after export. This is a huge issue for me since I cannot afford to wait 5 seconds for a image to render every time I change something.
Exported JPEG opened in DT has still different colors than not exported.
Colors don't seem to fix even when every module is off.
Change in color is most noticeable when image is vastly brightened but also can be seen on not brighened images.
Steps to reproduce
Expected behavior
DT should export image in normal colors.
Logfile | Screenshot | Screencast
Commit
No response
Where did you obtain darktable from?
distro packaging
darktable version
2:4.8.1-2
What OS are you using?
Linux
What is the version of your OS?
Arch Linux x86_64
Describe your system?
My setup:
Kernel: 6.11.5-zen1-1-zen
DE: GNOME 47.1
WM: Mutter
CPU: i5-10400f
GPU: AMD radeon RX 6600 XT
Display: LG ultragear 27GP850P-B 27"
Camera: Sony a6000
Are you using OpenCL GPU in darktable?
Yes
If yes, what is the GPU card and driver?
6600XT amdvlk 2024.Q3.3-1 opencl-amd 1:6.2.1-1
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
The text was updated successfully, but these errors were encountered: