搜索资源列表
6
- 编写一个程序,对输入的图像进行哈夫曼编码,显示原图像的熵、编码后的平均码字长度、并能够根据编码重建出图像。 Sobel算子和拉普拉斯算子进行锐化,并比较结果。-Write a program to image the input Huffman coding, the entropy of the original image displayed, encoded, the average code length, and be able to reconstruct the image a
ADPCM
- The ADPCM package is a flexible simulation tool for an adaptive differential encoder and decoder with backward predictor adaptation. It uses an LP-based (Burg) adaptive predictor and a nonuniform quantizer with mu transfer function. It generates the
mat2huff-bianma-
- 使用mat2huff进行编码,进一步说明霍夫曼编码的压缩性能!显示其压缩比例,以及其图像的对比!-Encoded using mat2huff to further clarify the Huffman coding compression performance! Shows the compression ratio and the image contrast!
huffman
- huffman编码生成器 函数说明: [W,L,q]=huffman(P) 为huffman编码函数 P为信源的概率矢量,W为编码返回的码字 L为编码返回的平均码字长度,q为编码效率 -Huffman encoding generated Function Descr iption: [W, L, q] = huffman (P) P for the Huffman encoding function for the prob
huffman_better
- huffman编码生成器 函数说明: [W,L,V,q]=huffman_better(P) 为huffman_better编码函数 P为信源的概率矢量,W为编码返回的码字,V为码字的方差 L为编码返回的平均码字长度,q为编码效率-Huffman encoding generated Function Descr iption: [W, L, V, Q] = huffman_better (P) P for huffman_bette
hufuman
- 哈弗曼编码以及编码 生成器 可以计算编码返回的码字 编码返回的平均码字长度 编码效率-Huffman coding and the code generator can calculate the average code word length coding efficiency encoded back into the code word encoding returned
huffman-code
- 程序的算法 1)先输入以下字符串和数组,其中sym为字符串中出现的信源符号,p为各符号出现的概率,seq为要进行编码的符号序列。如下所示: 2)初始各字符的区间:a[0,0.1),b[0.1,0.3),c[0.3,0.6),d[0.6,1.0) 3)利用以下公式计算区间的上下限: Li+1=Li+rangei*r_L Hi+1=Li+rangei*r_H -Program Algorithm 1) to enter the following string a