How to Convert image pixes into Binary Bits in MATLAB?

1 visualización (últimos 30 días)
Wubie Engdew
Wubie Engdew el 19 de Dic. de 2019
Respondida: Image Analyst el 19 de Dic. de 2019
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??

Respuestas (1)

Image Analyst
Image Analyst el 19 de Dic. de 2019
See my attached demo to hide/encode text into an image.

Categorías

Más información sobre Encryption / Cryptography en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by