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

12 ビュー (過去 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
KSSV 2021 年 4 月 1 日
Read about imwrite.

サインインしてコメントする。

採用された回答

Reshma Nerella
Reshma Nerella 2021 年 4 月 4 日
Hi,
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