-
Notifications
You must be signed in to change notification settings - Fork 317
e8+ and butteraugli: better HDR behavior #3885
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Previously, the Butteraugli loop would use an intensity of 80 even for
HDR content, thereby lowering quality at efforts 8 and above.
butteraugli_main also did not handle the reference and actual images
having different intensity_targets, meaning that it was not possible to
compare a PQ PNG (which would automatically have an intensity_target of
10000) with a compressed JXL version using a lower intensity_target
(reflecting the fact that the image doesn’t actually get that bright).
ClassE_LasVegasStore, before:
e1: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e2: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e3: 1.616 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e4: 1.631 bpp, Butteraugli 1.9226754904, 3-norm 0.761637
e5: 1.519 bpp, Butteraugli 2.5887553692, 3-norm 0.801795
e6: 1.507 bpp, Butteraugli 2.4450392723, 3-norm 0.777965
e7: 1.681 bpp, Butteraugli 1.4998193979, 3-norm 0.617420
e8: 1.415 bpp, Butteraugli 1.9081192017, 3-norm 0.770197
e9: 1.413 bpp, Butteraugli 1.9081192017, 3-norm 0.770197
e10: 1.409 bpp, Butteraugli 1.9175151587, 3-norm 0.770864
After:
e1: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e2: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e3: 1.616 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e4: 1.631 bpp, Butteraugli 1.9226754904, 3-norm 0.761637
e5: 1.519 bpp, Butteraugli 2.5887553692, 3-norm 0.801795
e6: 1.507 bpp, Butteraugli 2.4450392723, 3-norm 0.777965
e7: 1.681 bpp, Butteraugli 1.4998193979, 3-norm 0.617420
e8: 1.721 bpp, Butteraugli 1.4964444637, 3-norm 0.590536
e9: 1.727 bpp, Butteraugli 1.2693173885, 3-norm 0.585146
e10: 1.719 bpp, Butteraugli 1.3858509064, 3-norm 0.589227
veluca93
approved these changes
Oct 11, 2024
mo271
pushed a commit
to mo271/libjxl
that referenced
this pull request
Nov 26, 2024
Previously, the Butteraugli loop would use an intensity of 80 even for
HDR content, thereby lowering quality at efforts 8 and above.
butteraugli_main also did not handle the reference and actual images
having different intensity_targets, meaning that it was not possible to
compare a PQ PNG (which would automatically have an intensity_target of
10000) with a compressed JXL version using a lower intensity_target
(reflecting the fact that the image doesn’t actually get that bright).
ClassE_LasVegasStore, before:
e1: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e2: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e3: 1.616 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e4: 1.631 bpp, Butteraugli 1.9226754904, 3-norm 0.761637
e5: 1.519 bpp, Butteraugli 2.5887553692, 3-norm 0.801795
e6: 1.507 bpp, Butteraugli 2.4450392723, 3-norm 0.777965
e7: 1.681 bpp, Butteraugli 1.4998193979, 3-norm 0.617420
e8: 1.415 bpp, Butteraugli 1.9081192017, 3-norm 0.770197
e9: 1.413 bpp, Butteraugli 1.9081192017, 3-norm 0.770197
e10: 1.409 bpp, Butteraugli 1.9175151587, 3-norm 0.770864
After:
e1: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e2: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e3: 1.616 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e4: 1.631 bpp, Butteraugli 1.9226754904, 3-norm 0.761637
e5: 1.519 bpp, Butteraugli 2.5887553692, 3-norm 0.801795
e6: 1.507 bpp, Butteraugli 2.4450392723, 3-norm 0.777965
e7: 1.681 bpp, Butteraugli 1.4998193979, 3-norm 0.617420
e8: 1.721 bpp, Butteraugli 1.4964444637, 3-norm 0.590536
e9: 1.727 bpp, Butteraugli 1.2693173885, 3-norm 0.585146
e10: 1.719 bpp, Butteraugli 1.3858509064, 3-norm 0.589227
(cherry picked from commit 095f259)
mo271
pushed a commit
that referenced
this pull request
Nov 26, 2024
Previously, the Butteraugli loop would use an intensity of 80 even for
HDR content, thereby lowering quality at efforts 8 and above.
butteraugli_main also did not handle the reference and actual images
having different intensity_targets, meaning that it was not possible to
compare a PQ PNG (which would automatically have an intensity_target of
10000) with a compressed JXL version using a lower intensity_target
(reflecting the fact that the image doesn’t actually get that bright).
ClassE_LasVegasStore, before:
e1: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e2: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e3: 1.616 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e4: 1.631 bpp, Butteraugli 1.9226754904, 3-norm 0.761637
e5: 1.519 bpp, Butteraugli 2.5887553692, 3-norm 0.801795
e6: 1.507 bpp, Butteraugli 2.4450392723, 3-norm 0.777965
e7: 1.681 bpp, Butteraugli 1.4998193979, 3-norm 0.617420
e8: 1.415 bpp, Butteraugli 1.9081192017, 3-norm 0.770197
e9: 1.413 bpp, Butteraugli 1.9081192017, 3-norm 0.770197
e10: 1.409 bpp, Butteraugli 1.9175151587, 3-norm 0.770864
After:
e1: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e2: 1.709 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e3: 1.616 bpp, Butteraugli 1.9095990658, 3-norm 0.763096
e4: 1.631 bpp, Butteraugli 1.9226754904, 3-norm 0.761637
e5: 1.519 bpp, Butteraugli 2.5887553692, 3-norm 0.801795
e6: 1.507 bpp, Butteraugli 2.4450392723, 3-norm 0.777965
e7: 1.681 bpp, Butteraugli 1.4998193979, 3-norm 0.617420
e8: 1.721 bpp, Butteraugli 1.4964444637, 3-norm 0.590536
e9: 1.727 bpp, Butteraugli 1.2693173885, 3-norm 0.585146
e10: 1.719 bpp, Butteraugli 1.3858509064, 3-norm 0.589227
(cherry picked from commit 095f259)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previously, the Butteraugli loop would use an intensity of 80 even for HDR content, thereby lowering quality at efforts 8 and above.
butteraugli_main also did not handle the reference and actual images having different intensity_targets, meaning that it was not possible to compare a PQ PNG (which would automatically have an intensity_target of 10000) with a compressed JXL version using a lower intensity_target (reflecting the fact that the image doesn’t actually get that bright).
ClassE_LasVegasStore, before:
After: