MATLAB Answers

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

1 ビュー (過去 30 日間)
vaibhav Bansode
vaibhav Bansode 2021 年 4 月 1 日
回答済み: Reshma Nerella 2021 年 4 月 4 日
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

その他の回答 (0 件)


Community Treasure Hunt

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

Start Hunting!

Translated by