Display JPEG file in GUI
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to display an image in my GUI.
An example given by Matlab on how to do this is by using imshow command:
imshow('board.tif')
now i want to display an image i've created.
how am i going to do that?
Do i have to place the file into specific folder?
0 commentaires
Réponse acceptée
Chandra Kurniawan
le 15 Déc 2011
Fisrt you need to read your image that saved in your drive.
Eq :
I = imread('C:\My Document\Filename.jpg');
imshow(I);
1 commentaire
Plus de réponses (1)
Hamrit
le 22 Mai 2012
creat Axe in your gui
then =======
I=imread('yourfile');
axes(handles.axe1);
imshow(I);
0 commentaires
Voir également
Catégories
En savoir plus sur Display Image 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!