登录
首页 » Compress-Decompress algrithms » Implementation for the Huffman Cod in Visual C++. Both, the encoder and the d...

Implementation for the Huffman Cod in Visual C++. Both, the encoder and the d...

于 2022-01-24 发布 文件大小:7.46 kB
0 120
下载积分: 2 下载次数: 1

代码说明:

Implementation for the Huffman Cod in Visual C++. Both, the encoder and the decoder take as input a file and write the output into another file.-Implementation for the Huffman Cod in Visual C++. Both, the encoder and the decoder take as input a file and write the output into another file.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • JPEG解码DCT变换的源代码
    dct source code for jpeg decoder -Copy source code for jpeg decoder
    2022-04-08 13:00:27下载
    积分:1
  • 小波图像压缩的matlab方针,用零差数方法做的
    小波图像压缩的matlab方针,用零差数方法做的-Matlab wavelet image compression approach, using a zero difference method to do
    2022-05-22 11:25:10下载
    积分:1
  • mpeg 2 encoder vc++ 6.0 to achieve
    mpeg 2 encoder vc++ 6.0实现-mpeg 2 encoder vc++ 6.0 to achieve
    2022-07-09 18:31:26下载
    积分:1
  • 霍夫曼编码是可变字长编码(VLC)的一种,是消除编码冗余最常用的方法。 它是Huffman于1952年提出一种编码方法,它的基本原理是频繁使用的数据用较短的代码...
    霍夫曼编码是可变字长编码(VLC)的一种,是消除编码冗余最常用的方法。 它是Huffman于1952年提出一种编码方法,它的基本原理是频繁使用的数据用较短的代码代替,较少使用的数据用较长的代码代替,每个数据的代码个不相同。有时称之为最佳编码,一般就叫作Huffman编码。下面引证一个定理,该定理保证了按字符出现概率分配码长,可使平均码长最短。-Huffman coding is a variable word length coding (VLC) A is to remove redundant code of the most commonly used methods. It is Huffman in 1952 made a coding method, and its basic tenets are frequently used data with the code instead of a shorter, less use of the data over a longer period instead of the code, the code for each data-not the same. Sometimes referred to as the best coding, the general called on Huffman coding. Below prove a theorem, the theorem guarantees by the characters emerging probability distribution yards long, will enable the shortest average yards long.
    2022-03-26 01:11:34下载
    积分:1
  • 一 . 需求分析: 1) 输入形式和输入值范围: 输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。 2) 输...
    一 . 需求分析: 1) 输入形式和输入值范围: 输入形式是要压缩(或者要解压)的文件路径,输入范围是字符串,而且要是文件的路径。 2) 输出形式: 输出相应的编码压缩文件和解码原文件 3) 程序所能达到的功能: 利用哈夫曼对ASCII文件做不等长编码,达到压缩文件。利用哈夫曼树的遍历,达到解压文件的目的。程序的功能也就是实现压缩和解压ASCII类型文件的目的。 4)测试数据:(包括正确的输入数据及其输出结果和含有错误输入及其输出结果) 测试输入或者输出文本框是不是有空的,是不是不是有效路径。进行条件判断,实现错误处理。 比如要压缩:c:a.txt 文件路径就是:c:a.txt。如果输入框是空的,就判断,然后用MessageBox处理信息。 如果文件路径和文件的输出路径都写正确的话,就会输出相应的压缩或者解压文件,否则用函数MessageBox提示错误。然后进行更正。 二 . 概要设计: 1) 哈夫曼树的特点 a) 是二叉树的一种,而且是一种没有度数是1的二叉树 b) 一棵树有n个叶子,就会用2n-1个节点 c) 一种“最优”二叉树,由于树的带权路径(WPL)最小 d) 由于它是由下到上顺序构造的,使得分支节点和叶子节点从下到上,权值都是从小到大的顺序排列的
    2022-03-21 06:23:05下载
    积分:1
  • 能够自动生成“情书”
    能够自动生成“情书”-to automatically generate "Love Letter"
    2022-05-06 15:49:42下载
    积分:1
  • 一只菜鸟的串口程序,建议初学者可以看看 希望可以对你们有点用...
    一只菜鸟的串口程序,建议初学者可以看看 希望可以对你们有点用-a serial newcomers procedures, the proposed beginners can hope to see you with a bit
    2023-01-19 15:45:04下载
    积分:1
  • lzw的压缩程序,算法很经典 可以输出压缩的时间
    lzw的压缩程序,算法很经典 可以输出压缩的时间-4,558,302 compression procedure, the algorithm classic can output the compressed time
    2022-07-16 10:16:09下载
    积分:1
  • 一个包装zlib的例子,有demo程序
    一个包装zlib的例子,有demo程序-A packaging zlib examples demo program
    2022-05-27 04:06:44下载
    积分:1
  • graphcut源代码,提供下载,共同学习,共同进步
    graphcut源代码,提供下载,共同学习,共同进步
    2022-08-31 14:00:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载