How to displays many images one at a time?

4 vues (au cours des 30 derniers jours)
jjlivestrong
jjlivestrong le 23 Sep 2012
I have an art exam soon and frankly I hate everything about the class, starting with the professor. On the exam I will be asked to describe many pictures (over 40), so to make my studying a fun experience I was thinking on creating a program that lets me load all the images and then output them randomly for me to describe them.
I only want the image as an output, and when I press any key, display the other image until all the images have been displayed one by one.
The images are in a PowerPoint and I was thinking on taking them one by one using 'Snipping Tool' but from then on I don't know what else to do. I have never input an image to MATLAB.
I am asking for ideas (like somekind of function name) so that I can start from there and create the code.
Can you please help?

Réponse acceptée

Image Analyst
Image Analyst le 23 Sep 2012
Here you go: image(), imshow(), imagesc(). Other functions that may be useful: subplot(), colormap(), colorbar, figure.
  3 commentaires
Walter Roberson
Walter Roberson le 23 Sep 2012
I don't think MATLAB can read powerpoint files. It can read jpg and tiff and the like.
Image Analyst
Image Analyst le 24 Sep 2012
Modifié(e) : Image Analyst le 24 Sep 2012
You're best off extracting the images from Powerpoint manually. It can most likely be done with ActiveX programming (from within MATLAB) but I think that's beyond your skill set for the time being, and would end up taking you longer because you'd have to learn how to do ActiveX programming.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by