Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

1 visualizzazione (ultimi 30 giorni)
Image
  5 Commenti
sb icse
sb icse il 23 Nov 2018
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 il 23 Nov 2018
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.

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by