How to convert bytes into image again?

4 ビュー (過去 30 日間)
Sana Shaikh
Sana Shaikh 2013 年 4 月 19 日
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 日
reshape( typecast(ImageAsBytes, class(CoverImage)), size(CoverImage))
  1 件のコメント
Sana Shaikh
Sana Shaikh 2013 年 4 月 19 日
Thank you Sir!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by