Havermann encoding/decoding system
no vote
Design of a Huffman encoding and decoding system. Of characters in a text file to an ASCII-coded for Huffman coding, generate the code files; Conversely, decoding the encoded files can be restored to a text file. 1. initialize. Any read an ASCII-encoded file, statistics, establishment of Huffman trees. 2. encoding. Using established Huffman tree for Huffman code for each character. 3. graphical outputs in the Huffman tree nodes, and Huffman coding. 4. decoding. Decode the input file using Huffman tree has been established and stored as. HUF compressed files. 5. anti-decoding. HUF file decoding encoded in ASCII txt file, compare it with the original txt file.