Afficher commentaires plus anciens
hi, I havea series of jpeg images that I am trying to enter and view in matlab (eventually, I would love to try to tile them). I am using he imread function to load. the imshow function is not working. I am getting the following error
Error in ==> basicImageDisplay at 9 hh = image(xdata,ydata,cdata, ...
Error in ==> imshow at 246 hh = basicImageDisplay(fig_handle,ax_handle,...
I tried the following: - changing rgb to gray scale to reduce the dimesnions of the matric - renaming the m file - reducing the size of the file/image i am importing. I ended up with a 600x800 pixel image. is that still too big?
Any comment on the above would be appreciated. thanks m
2 commentaires
Andrew Newell
le 25 Avr 2011
You give the start of each error message, but not the most important part - what the error is. Could you please include the rest of the message?
Matt Fig
le 25 Avr 2011
Also, how is IMSHOW being called? Give the calling syntax, and a description of each argument...
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 25 Avr 2011
Based upon your concerns about reducing sizes, the error message you are getting may be one about running out of memory. If that is happening for an image as small as 600x800 then you likely have your own routine named "image" on your path.
which -all image
The same kind of problem could also trigger messages about indexes out of range.
2 commentaires
Catégories
En savoir plus sur Display Image dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!