How to read image from pixel values
조회 수: 10 (최근 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에서 Convert Image Type에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!