How to convert bytes into image again?
2 views (last 30 days)
Show older comments
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??
0 Comments
Accepted Answer
Walter Roberson
on 19 Apr 2013
Edited: Walter Roberson
on 19 Apr 2013
reshape( typecast(ImageAsBytes, class(CoverImage)), size(CoverImage))
More Answers (0)
See Also
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!