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

7 views (last 30 days)
image encryption and decryption using Modified AES

Answers (1)

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

Categories

Find more on Convert Image Type 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!