why did not accept the JPEG image in matlab ?

6 views (last 30 days)
sir i have doubt in why did not accept the JPEG image in matlab during read the images.
  2 Comments
Jan
Jan on 24 Sep 2013
Edited: Jan on 24 Sep 2013
I've deleted the duplicate thread with the same question.
Please post the relevant part of the code and explain the occurring problems. Without any details we cannot guess, what the problem is.
Image Analyst
Image Analyst on 24 Sep 2013
And attach the image so we can try to open it also. Use the paper clip icon.

Sign in to comment.

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 24 Sep 2013
%Example
folder=E:\matlab
filename='imag1.jpg'
f=fullfile(flder,filename)
im=imread(f)
If your code is not working, maybe the image is not in the current folder. Can you post the error message

More Answers (0)

Categories

Find more on Convert Image Type 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!