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

7 次查看(过去 30 天)
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)

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Import, Export, and Conversion 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by