Info

この質問は閉じられています。 編集または回答するには再度開いてください。

A matrix of class double when converted to an image it is becoming white.Please help me with the code.

1 回表示 (過去 30 日間)
sb icse
sb icse 2018 年 11 月 23 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Image
  5 件のコメント
sb icse
sb icse 2018 年 11 月 23 日
I am using R2018b version which is perhaps the latest.It is not essential to convert the matrix to tif it may be converted to a jpg file.
Geoff Hayes
Geoff Hayes 2018 年 11 月 23 日
From imwrite, If A is of data type uint16 and the output file format supports 16-bit data (JPEG, PNG, and TIFF), then imwrite outputs 16-bit values. If the output file format does not support 16-bit data, then imwrite returns an error. Please confirm that your input data is of type uint16 (cast to uint16 if you need to) and then try one of these three formats.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by