Compression algorithm for floating point numbers

xiaoxiao2021-03-06  36

Refer to IEEE floating point number format description

For the floating point number in the range of 0 to 1, it can be compressed

Obviously in the range of 0 to 1, a single-precision floating point number, index, and symbol bit occupies 9 bit.

And these nine bit can not be used, remove it, only 23 bit of the score, can achieve the purpose of compression

You can compress one floating point from 32bit, 4 bytes to 23Bit, 3 bytes.

This is also a method for compressing the floating point number in some tool software such as 3Dmax.

For example, among the unitization method, each floating point number is data between 0, 1

Under normal circumstances, the unitification of the three-dimensional space is required to be 12 bytes.

After this compression process, only 9 bytes need

转载请注明原文地址:https://www.9cbs.com/read-61349.html

New Post(0)