How do I display an images - .jpg ?

24 Ansichten (letzte 30 Tage)
Ted
Ted am 2 Sep. 2012
Kommentiert: Walter Roberson am 4 Apr. 2019
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.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 2 Sep. 2012
data=imread('image.jpg')
imshow(data)
  4 Kommentare
Yara Srinivas
Yara Srinivas am 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
Walter Roberson am 4 Apr. 2019
You accidentally created your own image.m file that is interfering with MATLAB's image function.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by