when i read a image in matlab i face this error and the values of image is not shown (Warning: Image is too big to fit on screen; displaying at 67% > In images.internal.initSize (line 71) In imshow (line 328) In InputFeature (line 5) )
1 次查看(过去 30 天)
显示 更早的评论
clear all();
close all;
img = imread('E:\Matlab Methods\Thesis Code\example.jpg');
imgdata = imresize(img,0.5);
imshow(imgdata)
4 个评论
采纳的回答
li yan
2018-5-9
It seems correctly, the first line should be clear all;
1. You should verify that the image is existing;
2. Is the img variable valid? I mean that is the img empty or not?
3. the image example.jpg can be opened by your local desktop app, such as windows painter or others app that can view an image
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!