Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
sb icse
sb icse le 23 Nov 2018
Clôturé : MATLAB Answer Bot le 20 Août 2021
Image
  5 commentaires
sb icse
sb icse le 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 le 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.

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by