You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement Rice encoding for my project. The data for which I am trying to implement is having fractional values.
Looking into your code you have made positive mapping. Do you have an idea how fractional mapping can be established for rice encoding?
The text was updated successfully, but these errors were encountered:
If you know your floating numbers range, you can map them to 0..MAX_INT with rounding by simple renormalization: round(MAX_INT * (x - min) / (max - min)). From my understanding, it is the easiest way to quantize numbers, preserving their continuity (if you have audio data), which is important for the codding.
Hi,
Sorry to bug you again, here the INT_MAX refers to maximum uint64 values and the min and max are the minimum and maximum numbers in the floating number array?
On Sun, Mar 12, 2023, 11:57 Sahil-5111998 ***@***.***> wrote:
Hi,
Sorry to bug you again, here the INT_MAX refers to maximum uint64 values
and the min and max are the minimum and maximum numbers in the floating
number array?
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF5GBL6JXCPTJBHO2W5SRJDW3YTDRANCNFSM6AAAAAAVWAOZIY>
.
You are receiving this because you commented.Message ID:
***@***.***>
Hi,
I am trying to implement Rice encoding for my project. The data for which I am trying to implement is having fractional values.
Looking into your code you have made positive mapping. Do you have an idea how fractional mapping can be established for rice encoding?
The text was updated successfully, but these errors were encountered: