我编码和解码了一堆系数(与我以前的相关)。该过程基于RLE,其中一组系数被编码,运行时编码只集中于零。为了缩短它,这是原始数组:
[200, -145, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0, -34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
编码为二进制数据,如下所示:
['000011001000