why did not accept the JPEG image in matlab ?

1 visualización (últimos 30 días)
SURENTHIRAN C
SURENTHIRAN C el 24 de Sept. de 2013
sir i have doubt in why did not accept the JPEG image in matlab during read the images.
  2 comentarios
Jan
Jan el 24 de Sept. de 2013
Editada: Jan el 24 de Sept. de 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 el 24 de Sept. de 2013
And attach the image so we can try to open it also. Use the paper clip icon.

Iniciar sesión para comentar.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 24 de Sept. de 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

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