how to dispaly the 2D matrix image?

2 次查看(过去 30 天)
I have the final decrypted matrix with size of 256x257 .I want to display the image with that size.how to display it?can you give me the code to display the 2D matrix?

回答(2 个)

KSSV
KSSV 2018-2-19
Read about imagesc, pcolor, imshow
  1 个评论
Frank Uhlig
Frank Uhlig 2021-4-10
Where can I find the answer?h ow can I see the code for this?
I am unable to use it otherwise

请先登录,再进行评论。


Image Analyst
Image Analyst 2021-4-10
You can use truesize as long as your image is not larger than your screen:
img = uint8(randi(255, 256, 256));
imshow(img);
axis('on', 'image');
truesize;
impixelinfo;

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by