Hi, I want to convert an image into a string of 0's and 1's using huffman transform and hide it in another image.
1 view (last 30 days)
Show older comments
Hi, I want to convert an image into a string of 0's and 1's using huffman transform and hide it in another image. Can anyone help what method I can use so that I can re-extract the hidden image with Huffman transform image?
0 Comments
Answers (1)
Sulaymon Eshkabilov
on 24 Dec 2022
A simple way is using a conversion from RGB to grayscale using rgb2gray(). Then proceed with builtin fcns: hist, huffmandict, huffmanenco.
Here is a solved example in MATHOWRKS: https://www.mathworks.com/matlabcentral/answers/423107-huffman-encoding-for-image
0 Comments
See Also
Categories
Find more on Source Coding in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!