Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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?

Antworten (1)

Thomas Koelen
Thomas Koelen am 29 Apr. 2015
im1=imread('image.tiff');
dlmwrite(image.txt,im1);

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