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?
回答 (1 件)
Thomas Koelen
2015 年 4 月 29 日
im1=imread('image.tiff');
dlmwrite(image.txt,im1);
カテゴリ
ヘルプ センター および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!