How do I display an images - .jpg ?

24 visualizaciones (últimos 30 días)
Ted
Ted el 2 de Sept. de 2012
Comentada: Walter Roberson el 4 de Abr. de 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.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 2 de Sept. de 2012
data=imread('image.jpg')
imshow(data)
  4 comentarios
Yara Srinivas
Yara Srinivas el 6 de Feb. de 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 el 4 de Abr. de 2019
You accidentally created your own image.m file that is interfering with MATLAB's image function.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by