how to save matrix of class double in to an image?

13 ビュー (過去 30 日間)
vaibhav Bansode
vaibhav Bansode 2021 年 4 月 1 日
コメント済み: Esther Nabadda 2023 年 3 月 17 日
How can I save matrix of double type as an image without changing values? I wan to use these images in another program (.mat file is not helpfull)
  1 件のコメント
KSSV 2021 年 4 月 1 日
Read about imwrite.



Reshma Nerella
Reshma Nerella 2021 年 4 月 4 日
You can use imwrite function to write data of specific types into a specified graphic file(various formats supported).
You can write your matrix data of double into a file and save it as an image.
For more information, refer to the documentation and examples of imwrite
  1 件のコメント
Esther Nabadda
Esther Nabadda 2023 年 3 月 17 日
imwrite will not save negative values though


その他の回答 (0 件)


Help Center および File ExchangeImages についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by