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

7 次查看(过去 30 天)
image encryption and decryption using Modified AES

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by