Reputation: 155
How can we display an image's matrix in MATLAB?
I have read the image using imread and have converted it into binary image. How do I see an image's matrix?
Upvotes: 1
Views: 17857
Reputation: 34621
If you want to see the actual matrix, use disp(I)
where I
is the image. If you want to view it as an image, use imagesc(I)
or imshow(I)
.
Upvotes: 4