Ayesha Khan
Ayesha Khan

Reputation: 155

How to display an image's matrix in MATLAB?

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

Answers (1)

Jacob
Jacob

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

Related Questions