How to read image from pixel values
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I need to read image from pixel values in .txt file
can anyone suggest something about this
Thanks in advance
3 件のコメント
Jan
2011 年 9 月 8 日
Please, Vivek, post any details. There is absolutely no chance, that we can guess how the "pixel values" are stored in the file.
採用された回答
Andreas Goser
2011 年 9 月 8 日
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 件のコメント
Walter Roberson
2011 年 9 月 13 日
Just answered this in your other topic. Duplicating questions makes for more work :(
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!