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) )

3 次查看(过去 30 天)
clear all();
close all;
img = imread('E:\Matlab Methods\Thesis Code\example.jpg');
imgdata = imresize(img,0.5);
imshow(imgdata)
  4 个评论

请先登录,再进行评论。

采纳的回答

li yan
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 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing and Computer Vision 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by