Question: Problem ( 1 6 0 pts ) : Take or write any text of about 1 0 0 - 1 2 0 words as a
Problem pts:
Take or write any text of about words as a message Message. For example,
Compression methods are either lossless or lossy. Lossless methods restore completely data, ie the
restored data file is identical to the original file. Lossless methods used for codes, word processing
files, tabulated numbers, text documents, etc. For those data, it is absolutely necessary to keep the
data in perfect condition for storage and transmission. No single bit of the information should be
misplaced. Lossy compression methods allow a small amount of noise in the restored data. Such
methods are much more effective for storage, because of high compression rate. But, more noise is
added to the original data, when the compression rate becomes high.
Use the Huffman method to encode the message, fill the table and calculate the average length
of the codewords, the entropy of the alphabet, and the redundancy of the code:
Calculate the number of bits for encoding this message
Write your code in MATLAB to encode this message.
Hide the encoding message in the last insignificant bitplane of the image "boattiff" at the
pixels which start from the random pixel
Display the original image together and the new image with the encoded message.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
