How do I display an images - .jpg ?
26 views (last 30 days)
Show older comments
I want to display an image that shows what the programs I create are solviing, How do I import or view a file .jpg or any format? I've used imageview but it only shows half of the picture.
0 Comments
Accepted Answer
Azzi Abdelmalek
on 2 Sep 2012
data=imread('image.jpg')
imshow(data)
4 Comments
Yara Srinivas
on 6 Feb 2019
i=imread('boy.jpg');
imshow(i)
Error: File: image.m Line: 1 Column: 5
Unexpected MATLAB expression.
This error was showing.
How can i solve this problem
Walter Roberson
on 4 Apr 2019
You accidentally created your own image.m file that is interfering with MATLAB's image function.
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!