how to convert images to byte arrays & byte arrays back in images ?

6 visualizzazioni (ultimi 30 giorni)
image encryption and decryption using Modified AES

Risposte (1)

Walter Roberson
Walter Roberson il 19 Feb 2013
YourByteArray = typecast(YourImageArray, 'uint8') %convert to byte array
typecast(YourByteArray, class(YourImageArray)) %convert to original class

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by