How to Convert image pixes into Binary Bits in MATLAB?

조회 수: 1 (최근 30일)
Wubie Engdew
Wubie Engdew 2019년 12월 19일
답변: Image Analyst 2019년 12월 19일
imgr=imgrgb(:,:,1);
imgg=imgrgb(:,:,2);
imgb=imgrgb(:,:,3);
imgrb=hexToBinaryVector(dec2hex(imgr(:,1:ceil(4*L/row))),8);
imggb=hexToBinaryVector(dec2hex(imgg(:,1:ceil(4*L/row))),8);
imgbb=hexToBinaryVector(dec2hex(imgb(:,1:ceil(4*L/row))),8);
This code does not work???
How I can convert into binary bits and embed with cipher text??

답변 (1개)

Image Analyst
Image Analyst 2019년 12월 19일
See my attached demo to hide/encode text into an image.

카테고리

Help CenterFile Exchange에서 Encryption / Cryptography에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by