-
Notifications
You must be signed in to change notification settings - Fork 752
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
How to generate CAMBI heat maps? #936
Comments
Looks like the data is in the update: Looks like |
I agree it's a good idea to add a flag to dump this to disk. I would think using PFM is better so the rescaling is simpler. From what I've seen, the values in PFM need to be between 0 and 1 so we could divide by the maximum theoretical c_value for a pixel. This value, according to my calculations, can be computed as Interested in what others have to say, it's probably worth trying and then tuning the normalization parameter if it seems too large. |
Try it out, hopefully not too much work. As for putting an |
Hi @ltrudeau-twoorioles, the branch feature/nilfm-cambi-heatmaps implements this feature, pending some testing and checking cross-platform compatibility. You can try it and see if it works for your purposes by adding the flag
Here is (a screenshot of) one of the maps generated by this: Please let me know if you have any questions/suggestions, and contributions are welcome! :) |
That's some great work @nilfm, thanks for the branch! Works great for me on MacOS. I opened the The hope is that this map would help better understand how different parts of the frame contribute to the overall CAMBI score. For example, banding in dark vs brighter regions or how CAMBI react to film grain. |
@nilfm, are you going to make a PR for this? |
@kylophone, I made the changes to output a 16-bit YUV400 (grayscale) video for each scale instead of separate frames, and I'll put the PR up now. I think it helps visualize the temporal movement of the bands, and it should be easy to take a single frame from it if necessary. We can discuss futher on the PR, and we can always not push this last commit if we want the old behaviour instead. Edit: #947 is the PR. |
Closed, since #947 is now merged. |
Is it possible to dump the CAMBI confidence data using the VMAF executable as is done in the tech blog?
With this data, heat maps can easily be generated using either Matlab or Matplotlib (in a Jupyter notebook).
The text was updated successfully, but these errors were encountered: