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 views (last 30 days)
clear all();
close all;
img = imread('E:\Matlab Methods\Thesis Code\example.jpg');
imgdata = imresize(img,0.5);
imshow(imgdata)
  4 Comments

Sign in to comment.

Accepted Answer

li yan
li yan on 9 May 2018
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

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!