Skip to content
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

Investigating using YCbCr color space for perceptual errors #362

Open
solidpixel opened this issue Aug 10, 2022 · 1 comment
Open

Investigating using YCbCr color space for perceptual errors #362

solidpixel opened this issue Aug 10, 2022 · 1 comment

Comments

@solidpixel
Copy link
Contributor

We currently have a very basic perceptual heuristic based on static channel weighting. It's not gamma corrected for linear textures either.

The bc7enc compressor evaluates errors in YCbCr color space which gives higher quality perceptual results, at the expense of a higher compression cost. Review and see if it's worth the added overhead.

@aras-p
Copy link
Contributor

aras-p commented Aug 23, 2022

IIRC Rich also mentioned somewhere that he played around with OkLab colorspace too (which was invented after bc7enc happened), and that the results were better (for some definition of better). But OkLab is more costly to evaluate than YCbCr, without finding some ways of speeding that up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants