How can i compress the text file using huffman encoding?
17 次查看(过去 30 天)
显示 更早的评论
Hi
I am using a text file to hide inside an image file in lsb plane. But i want to compress the text file using huffman encoding and hide inside the lsb plane of image file. After retrieve the text file, the text file should be decompressed using huffman encoding.
Can you help in this matter.
1 个评论
Prakruthi gowda
2018-2-3
Hi I took steganography as my project using lsb and lsb+huffman coding can anyone help me with correct matlab codes for encoding and decoding and mail me @prakruthi.1110@gmail.com
采纳的回答
更多回答(3 个)
Walter Roberson
2016-9-27
编辑:Walter Roberson
2016-9-27
9 个评论
Walter Roberson
2016-9-29
The output of the execution of what is not clear? Please clarify what you mean by not clear.
Usairum Mirza
2019-10-16
编辑:Usairum Mirza
2019-10-16
A simple and easy way for encoding and decoding with a text file is give below:(We have used huffman functions in this code).
keep in mind make your text file in capital letters and with no nex line or comms or fullstop
2 个评论
Usairum Mirza
2020-6-3
编辑:Usairum Mirza
2020-7-10
By making a dictionay assigning their probabilities and using huffman commands like huffman enco this is where encoding part is. Also after running we can see the compression ratio or number of bits that are compressed just look it up.
Sai Sriram Sunkavalli
2020-8-29
Consider the given file(James C. Maxwell.docx). Compute the probabilities of alphabet and number (ratio of the number of occurrences to the total count of alphabets and numerals) and create a table with symbols and probabilities. Determine the Huffman code for the symbols and create the table of symbols and Huffman codewords. Using the above constructed table encode your name and Roll number.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Large Files and Big Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!