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(최근 30일)
표시 이전 댓글
javad danesh 2022년 12월 24일
답변: Sulaymon Eshkabilov 2022년 12월 24일
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?
Sulaymon Eshkabilov 2022년 12월 24일
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
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!