How can I read, in matlab, an image I have on my desktp with the imread () function?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How can I read, in matlab, an image I have on my desktp with the imread () function?
0 comentarios
Respuestas (1)
Wick
el 1 de Mayo de 2018
You must put the name of the image in single quotes in the command. If the image is in a path beneath where MATLAB is currently executing, include the subfolders in the name. If it's somewhere else, use the entire path.
Assuming the file name is image_to_load.png then simply run:
img = imread('image_to_load.png');
0 comentarios
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!