how to dispaly the 2D matrix image?

1 visualización (últimos 30 días)
PLACEIUS NISHIGA G
PLACEIUS NISHIGA G el 19 de Feb. de 2018
Respondida: Image Analyst el 10 de Abr. de 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?

Respuestas (2)

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

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 10 de Abr. de 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;

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by