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.
Afficher commentaires plus anciens
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?
Réponses (1)
Sulaymon Eshkabilov
le 24 Déc 2022
0 votes
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
Catégories
En savoir plus sur Source Coding dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!