How to show all pixel values in command window
조회 수: 2 (최근 30일)
이전 댓글 표시
when i take an image as input using "imread(image)" the command window shows the pixel values. Unfortunately it doesn't show all values. I can see only column 11409 to column 32768. Is there any way I can see pixel values from column 1 to column 32768 (that is all the data)?
댓글 수: 1
Image Analyst
2011년 8월 4일
That's a pretty big image. How many rows? It's strange that it doesn't show the first 11 thousand columns. I've always seen the arrays in the variable editor start with the array element (1,1) in the upper corner of the grid, not with row 1, column 11409. You might call them about that - maybe it's some glitch because you have such a huge number of rows and columns. A 32768 by 32768 image would be a gigapixel image, far bigger than any ordinary camera makes.
답변 (2개)
Walter Roberson
2011년 8월 4일
The rest probably scrolled off.
You would probably be better to assign the result of imread() to a variable, and then examine portions of the variable at a time. For example you might want to imshow() it and use the value exploration tool.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!