Image is not displayed using imshow (Digital Image Processing)
Ältere Kommentare anzeigen
Hello All,
I am new to the Digital Image processing using MATLAB. I tried one simple example given in the tutorials but I am not getting any output. So can somebody please tell me where am I going wrong? Code is as follows:
I = imread('COMSOL Model.jpg');
imshow(I);
The file which is supposed to display is also attached. I am getting empty plot/figure after running this code. So can somebody tell me what is going wrong here?
4 Kommentare
CS Researcher
am 2 Mai 2016
Cannot replicate the problem here. It works for me. Do you get any errors? Try restarting MATLAB.
Nikhil
am 2 Mai 2016
Image Analyst
am 2 Mai 2016
I'd call the Mathworks on that one. Of course, why don't you just try upgrading to R2016a?
CS Researcher
am 2 Mai 2016
It seems the OpenGL drivers of your system are outdated. Restart MATLAB and try to plot again. If you still get the same error, try plotting a basic plot. if it does not work, you might have to upgrade your drivers.
Antworten (0)
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!