-
Notifications
You must be signed in to change notification settings - Fork 12
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
A question about symbol range #3
Comments
So let's say you have have the following distribution
Now, you would transform this to a CDF that is:
And if you have for example
you would specify the following symbols:
so the index. With "Lp-2" we just mean that the biggest symbol here is |
Thanks for your work. I have a question.Can this implementation be used to encode 16bit image data? If you want to encode 16bit image data does it need to be rewritten? It should now only apply to 8bit image data. |
According to the source code, |
Thanks for your work. But I have a question, that is whether the symbol must in [0, Lp-2]. For example, I have 3 symbols: 100, 200, 300, and I also know their frequency, can I use torchac to compress them? If I must transform [100, 200, 300] to [0, 1, 2] before compressing, then how can I tranform them back to [100, 200, 300] after decompressing? It really makes me confused. Hope for your reply!
The text was updated successfully, but these errors were encountered: