MATLAB Answers

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

조회 수: 2(최근 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)

채택된 답변

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개)

Community Treasure Hunt

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

Start Hunting!

Translated by