How to convert bytes into image again?

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??

 채택된 답변

Walter Roberson
Walter Roberson 2013년 4월 19일
편집: Walter Roberson 2013년 4월 19일

0 개 추천

reshape( typecast(ImageAsBytes, class(CoverImage)), size(CoverImage))

추가 답변 (0개)

카테고리

도움말 센터File 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