文件名称:suanshu
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.18kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
首先,计算出码元符号集中各个码元的累积概率,并存放在F数组里面。
然后,开始循环编码,直至输入序列循环完毕。
最后,将所得的累计概率由小数形式转化成二进制形式。
对解码。首先,计算码元符号集中各个码元的累积概率,并存放在F数组里面。
然后,开始循环解码,此次循环是在码元符号集中,由高概率码元向低概率码元循环,这是由于编码的输出肯定是不大于高概率码元的累积概率的。那么如果我们从高到底循环,所找到的第一个小于编码结果fs的码元即为所译码的码元。
最后,我们可以利用此码元在码元符号集中的位置和其概率分布数组中的位置是一一对应的性质,找到码元并复制到输出数组中去即可。
-First, calculate the concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning the cycle encoded input sequence until the cycle has finished.
Finally, the cumulative probability derived from decimal form into binary form.
For decoding. First of all, the calculated concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning decoding cycle, the cycle is concentrated at key element symbol by a high probability to low probability of symbol-symbol cycle, This is because the output code is definitely not a high probability of symbol is greater than the cumulative probability. Well, if we in the end from a high cycle, found the results of the first encoding is less than fs is the symbol by symbol decoding.
Finally, we can use this symbol at symbol symbol centralized location and its probability distribution of the location of the array are the natu
然后,开始循环编码,直至输入序列循环完毕。
最后,将所得的累计概率由小数形式转化成二进制形式。
对解码。首先,计算码元符号集中各个码元的累积概率,并存放在F数组里面。
然后,开始循环解码,此次循环是在码元符号集中,由高概率码元向低概率码元循环,这是由于编码的输出肯定是不大于高概率码元的累积概率的。那么如果我们从高到底循环,所找到的第一个小于编码结果fs的码元即为所译码的码元。
最后,我们可以利用此码元在码元符号集中的位置和其概率分布数组中的位置是一一对应的性质,找到码元并复制到输出数组中去即可。
-First, calculate the concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning the cycle encoded input sequence until the cycle has finished.
Finally, the cumulative probability derived from decimal form into binary form.
For decoding. First of all, the calculated concentration of the various symbols symbol symbol cumulative probability, F and kept inside the array.
And, beginning decoding cycle, the cycle is concentrated at key element symbol by a high probability to low probability of symbol-symbol cycle, This is because the output code is definitely not a high probability of symbol is greater than the cumulative probability. Well, if we in the end from a high cycle, found the results of the first encoding is less than fs is the symbol by symbol decoding.
Finally, we can use this symbol at symbol symbol centralized location and its probability distribution of the location of the array are the natu
相关搜索: 循环编码 译码
(系统自动生成,下载前可以参看下载内容)
下载文件列表
weiyikeyi.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.