Filter löschen
Filter löschen

how to dispaly the 2D matrix image?

2 Ansichten (letzte 30 Tage)
PLACEIUS NISHIGA G
PLACEIUS NISHIGA G am 19 Feb. 2018
Beantwortet: Image Analyst am 10 Apr. 2021
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?

Antworten (2)

KSSV
KSSV am 19 Feb. 2018
Read about imagesc, pcolor, imshow
  1 Kommentar
Frank Uhlig
Frank Uhlig am 10 Apr. 2021
Where can I find the answer?h ow can I see the code for this?
I am unable to use it otherwise

Melden Sie sich an, um zu kommentieren.


Image Analyst
Image Analyst am 10 Apr. 2021
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;

Kategorien

Mehr zu Read, Write, and Modify Image finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by