Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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