How to store color image after reading in a single matrix? How to copy the matrix in a .txt file?

If I have a color image and I want to read it in a single matrix. that matrix should have pixels as contents.
How to store the matrix in a text file?

类别

在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by