
I want to get an image info with imfinfo
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Please help me...How to use imfinfo when I use handles.Img = Img to get the Image file?
0 commentaires
Réponses (2)
KALYAN ACHARJYA
le 5 Août 2018
Modifié(e) : KALYAN ACHARJYA
le 5 Août 2018
%Are you looking for this one, Change the image name
k=imread('banana.png');
h=imshow(k);
info=imfinfo('banana.png');
imageinfo(h,info);

0 commentaires
Jan
le 5 Août 2018
Modifié(e) : Jan
le 5 Août 2018
The question is not clear. We cannot guess, what handles.Img = Img means, because the contents of Img is not explained. The documentation explains exhaustively, how imfinfo is used:
doc imfinfo
This command requires the file name as input, not the RGB values of the pixels.
Please read this at first and ask again, what remains unclear.
8 commentaires
Walter Roberson
le 11 Jan 2025
Height = size(TheImage, 1);
Width = size(TheImage, 2);
ColorMatrix = TheImage;
Voir également
Catégories
En savoir plus sur Explore and Edit Images with Image Viewer App dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!