-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Some bugfixes for LateD65 whitebalance and detail mask #16290
Some bugfixes for LateD65 whitebalance and detail mask #16290
Conversation
Tested against 0094, the result is not identical but the diff is not visible:
|
8810dd1
to
5c5d6b9
Compare
I just tested this PR with regards to the adaptation only and currently there is a new "bug". The temperature is fixed at 5003 K.
PR16290_20240211-2024-02-11_14.40.28.mp4 |
Please explain. I tested here with all 4 workflow options and couldn't yet reproduce ... Any preset in color calibration used? BTW i had observed such behaviour while working on the new stuff but thought i had fixed it ... |
@jenshannoschwalm : The first point (Only when resetting the module, the actual value comes) is again only when resetting history from Lighttable. |
Add dt_vector_max_nan() and dt_vector_clipneg_nan() variants, both make sure we test for max even for NaNs.
The refavg for each segment also requires the correction to be applied. Correction must be depending on late correction or not.
All VNG variants should write the scharr mask except for dual demosaicing as the use the sharper mode for the mask.
5c5d6b9
to
9faf32c
Compare
Latest commit fixed the second point in segmentation where we required valid correction data. |
@jenshannoschwalm : Confirmed, test 0094 pass now with the exact same value as previously. |
I see. I am not sure if this was different before :-) What we have is:
|
@jenshannoschwalm : I have this issue in "scene referred" workflow too on my side. |
1. should use DT_ADAPTATION_CAT16 per default, Only not the case for monochromes or already applied CAT. 2. fixed wrong returned flag while checking for custom wb
9faf32c
to
3c0bf79
Compare
Could you check again with latest force-push ? |
BTW: commit (4) issues might very well be in 4.6 too, will check after we got it sorted out here. |
This latest version works for me, @AxelG-DE can you double check too on your side? TIA. |
I would have hard time to explain better than my screencast, which is very comprehensive :-D But anyhow I have tested last commit now (19:18 UTC+1) and
Thanks from my side |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
dt_vector_max_nan()
anddt_vector_clipneg_nan()
vector function variants and make use of them where required.Fixes #16280
Fixes #16286
Fixes #16282
Third commit would also be for 4.6.1