How to read image from pixel values
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I need to read image from pixel values in .txt file
can anyone suggest something about this
Thanks in advance
3 Kommentare
Jan
am 8 Sep. 2011
Please, Vivek, post any details. There is absolutely no chance, that we can guess how the "pixel values" are stored in the file.
Akzeptierte Antwort
Andreas Goser
am 8 Sep. 2011
An image in MATLAB is an array (matrix) of pixel values. I'd say you have 2 steps. 1. Importing the TXT file. 2. Display the image. For 1. there are tons of options. Read the doc, try IMPORTDATA and other commands and if you need help, ask here. For 2. the commands are IMAGE or IMVIEW.
3 Kommentare
Walter Roberson
am 13 Sep. 2011
Just answered this in your other topic. Duplicating questions makes for more work :(
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox 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!