Filter löschen
Filter löschen

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

7 Ansichten (letzte 30 Tage)
vaibhav Bansode
vaibhav Bansode am 1 Apr. 2021
Kommentiert: Esther Nabadda am 17 Mär. 2023
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)

Akzeptierte Antwort

Reshma Nerella
Reshma Nerella am 4 Apr. 2021
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

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by