How to convert bytes into image again?

8 Ansichten (letzte 30 Tage)
Sana Shaikh
Sana Shaikh am 19 Apr. 2013
I have an image of 294x558x3 size
I read it byte by byte by using
ImageAsBytes = typecast(CoverImage(:), 'uint8')
to perform some specific operation but now after peforming
how can I covert it back to image format??

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 19 Apr. 2013
Bearbeitet: Walter Roberson am 19 Apr. 2013
reshape( typecast(ImageAsBytes, class(CoverImage)), size(CoverImage))

Weitere Antworten (0)

Kategorien

Mehr zu Convert Image Type finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by