How to show all pixel values in command window
3 次查看(过去 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!