How do I display an images - .jpg ?

27 visualizzazioni (ultimi 30 giorni)
Ted
Ted il 2 Set 2012
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.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by